[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Strange ObjectModelParser behavior

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
P

Peter Judge

Guest
I should point out that it is possible to do something along the lines of def var jsonData as JsonConstruct. jsonData = (new ObjectModelParser()):Parse( " [~"data~"] " ). Not as pretty but it works. I'd be tempted to make the Parse() methods static since it cleans the calling syntax up a bit, and the built-in ObjectModelParser has no context for each Parse*() call. I'd also note that things like "null" , 12345 and "hello greg" are valid JSON (though not yet supported by our parser.

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