Skip to content

newline in serialization #34

@peacekeeper

Description

@peacekeeper

if an XDI literal in the JSON serialization contains a newline, that may not be properly handled during conversion to other formats

e.g.

{
  "=markus": {
    "<#email>": {
      "&": "markus.sabadello@


gmail.com"
    }
  }
}

gets converted to

{
   "=markus": {
    "<#email>": {
      "&": "markus.sabadello@\n\n\ngmail.com"
    }
  }
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions