You are here: Web Services > Working with JSON Data > Using XPRIM_RandomAccessJsonReader to Read JSON Values > Read…WithName

Read…WithName

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