Package net.thisptr.jackson.jq
Class BuiltinFunctionLoader
java.lang.Object
net.thisptr.jackson.jq.BuiltinFunctionLoader
Use
BuiltinFunctionLoader.getInstance() to obtain the instance.-
Method Summary
Modifier and TypeMethodDescriptionstatic BuiltinFunctionLoaderlistFunctions(ClassLoader classLoader, Version version, Scope closureScope) Load function definitions from the default resource from an arbitraryClassLoader.listFunctions(Version version, Scope closureScope) voidloadFunctions(ClassLoader classLoader, Version version, Scope closureScope) voidloadFunctions(Version version, Scope closureScope) loadFunctionsFromJsonJq(ClassLoader classLoader, Version version, Scope closureScope) Do not use this method.loadFunctionsFromServiceLoader(ClassLoader classLoader, Version version) Do not use this method.
-
Method Details
-
getInstance
-
listFunctions
public Map<String,Function> listFunctions(ClassLoader classLoader, Version version, Scope closureScope) Load function definitions from the default resource from an arbitraryClassLoader. E.g. in an OSGi context this may be the Bundle'sClassLoader. -
listFunctions
-
loadFunctions
-
loadFunctions
-
loadFunctionsFromServiceLoader
public Map<String,Function> loadFunctionsFromServiceLoader(ClassLoader classLoader, Version version) Do not use this method. This method is only for Quarkus extension. -
loadFunctionsFromJsonJq
public Map<String,Function> loadFunctionsFromJsonJq(ClassLoader classLoader, Version version, Scope closureScope) Do not use this method. This method is only for Quarkus extension.
-