{ "ns" : "http://zorba.io/modules/system", "description" : " The system module allows developers to access system properties.\n Part of these system properties are environment variables,\n local variable to the process running Zorba, and properties defined by Zorba.
\n To avoid conflicts between environment variables and properties defined by Zorba,\n all environment variables are prefixed with env..
\n For instance, the following query:
\n
\n import module namespace system = \"http://www.zorba-xquery.com/modules/system\";\n for $prop in system:properties()\n return concat($prop, \": \", system:property($prop), \"\n \")\n\n
\n Will output:\n
\n env.TERM_PROGRAM: Apple_Terminal\n ...\n\n In this example, it is important to notice that the environnement variable PATH\n with the key env.PATH.
\n", "sees" : [ ], "authors" : [ "
\n To avoid conflicts between environment variables and properties defined by Zorba,\n all environment variables are prefixed with env..\n", "summary" : "
This function retrieves all names and values from the current system properties.
", "annotation_str" : " %an:nondeterministic", "annotations" : [ { "prefix" : "an", "ns" : "http://zorba.io/annotations", "name" : "nondeterministic", "value" : "" } ], "updating" : false, "parameters" : [ ], "returns" : { "type" : "object()", "description" : "List of all system properties as a JSONiq Object sequence." }, "errors" : [ ] }, { "arity" : 0, "name" : "properties", "qname" : "system:properties", "signature" : "() as xs:string* external", "description" : " This function retrieves the names of the current system properties.\n This list includes environment variables, local variable to the process running Zorba, and properties defined by Zorba.\n\n To avoid conflicts between environment variables and properties defined by Zorba,\n all environment variables are prefixed with env..\n", "summary" : "
This function retrieves the names of the current system properties.
", "annotation_str" : " %an:nondeterministic", "annotations" : [ { "prefix" : "an", "ns" : "http://zorba.io/annotations", "name" : "nondeterministic", "value" : "" } ], "updating" : false, "parameters" : [ ], "returns" : { "type" : "xs:string*", "description" : "List of all system properties." }, "errors" : [ ] }, { "arity" : 1, "name" : "property", "qname" : "system:property", "signature" : "($key as xs:string) as xs:string? external", "description" : " Gets the system property indicated by the specified key.\n", "summary" : "Gets the system property indicated by the specified key.
", "annotation_str" : " %an:nondeterministic", "annotations" : [ { "prefix" : "an", "ns" : "http://zorba.io/annotations", "name" : "nondeterministic", "value" : "" } ], "updating" : false, "parameters" : [ { "name" : "key", "type" : "xs:string", "occurence" : null, "description" : "