get() only exists on array element and object element where it takes a given key and returns the underlying element (never value, there is getValue for that).
In some parts of the README it is used on primitive elements (string, number, boolean), the method does not exist on these elements. Appears toValue() should be used instead.
get()
only exists on array element and object element where it takes a given key and returns the underlying element (never value, there isgetValue
for that).In some parts of the README it is used on primitive elements (string, number, boolean), the method does not exist on these elements. Appears
toValue()
should be used instead.