X Tutup
Skip to content

Name Sensitivity to word "Content" as the JSON property name #344

@NavidHeydari

Description

@NavidHeydari

Hi Devs,
Appreciate your efforts so far.

it seems something is sensitive to word "content" inside my JSON since whenever I tried to use this name inside my json and call XML to convert that into XML, it will treat my data in an odd way, for example:

"parent": [
{
"content" : "mydata",
"anotherProperty" : 12
}, {
"content" : "mydata1",
"anotherProperty" : 13
}
]

it will generate something like this:

mydata12mydata113

I assume it should produce something like this:

mydata12
mydata113

am I doing something wrong?
I should mention that my code is working fine with all the other properties, just it seems something is sensitive to content name.

Thanks for your efforts,
Navid :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup