Read Object From Json
 

Read Object From Json

2 posts, 1 answered
  1. Markus Grigoleit
    Markus Grigoleit avatar
    31 posts
    Registered:
    04 Jun 2019
    23 Nov 2020
    Link to this post
    My goal is to read a json-string (which is stored inside some table) into an object.
    Found this:
    https://www.progresstalk.com/threads/parse-complex-json-file-with-progress-code.187814/

    But maybe theres a simpler apporach.I figured there must be something similar going on inside the SCL framework  when we create a restmethod. Somehow we get the content of our post-body delivered into our callback. Sadly i couldnt find the place where it happens.

  2. Mike Fechner
    Mike Fechner avatar
    319 posts
    Registered:
    14 Sep 2016
    Answered
    23 Nov 2020 in reply to Markus Grigoleit
    Link to this post
    Depends on your use cases. There's

    https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094430/JsonSerializable+classes

    and 

    https://documentation.progress.com/output/ua/OpenEdge_latest/index.html#page/dvref/serialize(-)-method-(jsonserializer).html
2 posts, 1 answered