Class Utils
java.lang.Object
com.northconcepts.datapipeline.jsonata.Utils
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classList representing an int range [a,b] Both sides are included. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic ObjectconvertNulls(Object res) static NumberCreate an empty sequence to contain query resultscreateSequence(Object el) static booleanstatic booleanstatic booleanisFunction(Object o) static booleanstatic booleanisSequence(Object result) static <K,V> Map <K, V> mapof()static <K,V> Map <K, V> mapof(K k1, V v1) static <K,V> Map <K, V> mapof(K k1, V v1, K k2, V v2) static <K,V> Map <K, V> mapof(K k1, V v1, K k2, V v2, K k3, V v3) static <K,V> Map <K, V> mapof(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) static <K,V> Map <K, V> mapof(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) static Pathstatic voidquote(String string, StringBuilder w) adapted from org.json.JSONObject https://github.com/stleary/JSON-java
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
isNumeric
-
isArrayOfStrings
-
isArrayOfNumbers
-
isFunction
-
createSequence
Create an empty sequence to contain query results -
createSequence
-
isSequence
-
convertNumber
-
checkUrl
-
convertNulls
-
quote
adapted from org.json.JSONObject https://github.com/stleary/JSON-java -
mapof
-
mapof
-
mapof
-
mapof
-
mapof
-
mapof
-
pathof
-