DataNavigate
Constructs a fluent data navigator based on different types of data.
Available Input Types:
String: A JSON string
File Path: A path to a JSON file as a string
File Path: A path to a JSON file as a Java Path
Struct: A structure
Map: A Java map
Method Signature
DataNavigate(data=[any])Arguments
Argument
Type
Required
Description
Default
data
any
true
Examples
Navigate into a data structure using a path
data = { user: { name: "Luis", address: { city: "NYC" } } };
result = dataNavigate( data, "user.address.city" );
writeOutput( result );
Result: NYC
Navigate with array indices
Result: Bob
Related
Last updated
Was this helpful?
