Adds Node#keys to only iterate the keys (names) of an object's properties.
Based on this the JsonMap implements improved keys(), values() and forEach.
JsonMap#keys no longer returns a Set but a Stream. This is more in line with the virtual tree API as methods based on keys() will also no longer throw a JsonPathException in case the node does not exist. If the not does not exist or is defined null the keys()Stream is empty.
Adds
Node#keys
to only iterate the keys (names) of an object's properties. Based on this theJsonMap
implements improvedkeys()
,values()
andforEach
.JsonMap#keys
no longer returns aSet
but aStream
. This is more in line with the virtual tree API as methods based onkeys()
will also no longer throw aJsonPathException
in case the node does not exist. If the not does not exist or is definednull
thekeys()
Stream
is empty.