Skip to content

Json related question #3

Description

@antonioapostoliu

I use your code to generate json data.

The received json data is:
[{"Id":1,"Name":"Name1","Description":"Description1","Timestamp":"2016-01-08T07:35:04"},{"Id":2,"Name":"Name2","Description":"Description2","Timestamp":"2016-01-08T07:38:03"}]

Please tell me where to change code for add double quotes before and after id values.
I want to have:

[{"Id":"1","Name":"Name1","Description":"Description1","Timestamp":"2016-01-08T07:35:04"},{"Id":"2","Name":"Name2","Description":"Description2","Timestamp":"2016-01-08T07:38:03"}]

Best regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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