[Progress Communities] [Progress OpenEdge ABL] Comment on CharStream for unit testing serialization

  • Thread starter Thread starter Neil Treeby
  • Start date Start date
Status
Not open for further replies.
N

Neil Treeby

Guest
This is useful for more than just testing, if we want to pass serialized objects around as string parameters to/from REST services why should we have to write out to a file every time? There is a workaround for serializing object->JSON string by creating a custom stream writer class ( knowledgebase.progress.com/.../How-to-serialize-a-class-object-to-JSON-directly-into-a-LONGCHAR-variable) , but it seems there is no such workaround available for deserializing from JSON string->object.

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