[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: GET JSON STRANGE RESULT

  • Thread starter Thread starter Mike Fechner
  • Start date Start date
Status
Not open for further replies.
M

Mike Fechner

Guest
Your response seems to contain a JSON Array – not a JSON Object. You don’t handle the JsonArray type in your code. So somewhere your code must output oEntity:ToString () or STRING( oEntity ). Try this here: IF TYPE-OF( oEntity , JsonConstruct ) THEN CAST( oEntity , JsonConstruct ): WriteFile ( 'c:\ob1\temp\ entity.json ', true). JsonConstruct is the super-type of JsonArray and JsonObject .

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