Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DataExport outputs JSON without quoted names

    I'm trying to use the DataExport.exportResultSet() method to output JSON to be consumed by another application. It works fine except that the field names are not quoted so the parser the other application uses will not parse it. Here is a simple example.
    Code:
    [
        {
            PUDS:"Dozen",
            PUCD:"DZ",
            PUVL:12
        },
        {
            PUDS:"Each",
            PUCD:"EA",
            PUVL:1
        },
        {
            PUDS:"Two",
            PUCD:"2",
            PUVL:2
        }
    ]
    Is there any way to have the exporter quote the names?
Working...
X