Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[ Image Removed |../../index.htm#lansa/jsoneng01_0035.htm]
You are here:

...

Read..WithName is very similar to Read…WithPath, but the parameter must refer to an object member name instead of a path.

The "current" element must be an object.

#Reader.BeginObjectWithName("name")
#GivenName := #Reader.ReadStringWithName("given")
#Surname := #Reader.ReadStringWithName("surname")
#Reader.EndObject

Next: Read…AtIndex
[ Image Removed |../../index.htm#lansa/jsoneng01_0035.htm]