Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A ArduinoJson
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Benoît Blanchon
  • ArduinoJson
  • Issues
  • #1444
Closed
Open
Issue created Dec 03, 2020 by Administrator@rootContributor

Feature Request: Serialize IPAddress

Created by: EmperorArthur

Currently compilation fails if ArdunioJson attempts to serialize an IPAddress object.

On the surface, this makes sense because it is not something which can be directly converted to JSON. However, Serial.print(..) explicitly works, so it catches users off gaurd.

Code to convert IPAddress to a string, which can be serialized.

out = String(address[0]) + "." + String(address[1]) + "." + String(address[2]) + "." + String(address[3])
Assignee
Assign to
Time tracking