[Progress Communities] [Progress OpenEdge ABL] Forum Post: JSON Serialization

  • Thread starter Thread starter simon_barker
  • Start date Start date
Status
Not open for further replies.
S

simon_barker

Guest
I've been using the standard JSON (Progress.ObjectModel.*.) objects to build responses for consumption via REST and have recently been looking at the Progress.IO.JsonSerializer object. When I serialize JSON from an object using the Serialize() method the output contains properties that aren't required, see below: { "prods:version": 1, "prods:objId": 1, "CustomScripts.OperationalSettings": { "WebAccess": true, "PhoneNumber": "12345 987654", "prods:tempTables": { "Settings": [{ "a": "b" }] } } } Is there anyway to remove prods:version, prods:tempTables etc. without all the legwork i.e.decorating the JsonSerializer object or similar?

Continue reading...
 
Status
Not open for further replies.
Back
Top