logmanoriginal / JSONtext-Object-Serialization

Object serialization strategies for JSONtext
BSD 3-Clause "New" or "Revised" License
6 stars 3 forks source link

Export type information #1

Closed logmanoriginal closed 3 years ago

logmanoriginal commented 3 years ago

Automatically add an item - for example, "LVClass" - with the class name.

{
  "lvclass":"MyChildClass.lvclass",
  "parent_member_1": "",
  "child_member_1": ""
}

This will make it possible to de-serialize child classes.

Original idea: https://bitbucket.org/drjdpowell/jsontext/issues/56/parse-json-from-to-labview-objects#comment-60169094