value
Method of JSONFile.
Overloads
| Name | Description |
|---|---|
value(const string pointer, as_real | as_array type) -> RealArray | Returns a JSON Pointer-selected value as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings. |
value(as_real | as_list type) -> Object | Returns a flat list of converted primitives. |
value(as_integer | as_list type) -> Object | Returns a flat list of converted primitives. |
value(as_bool | as_list type) -> Object | Returns a flat list of converted primitives. |
value(as_complex | as_tensor type) -> ComplexTensor | Returns the JSON root as a tensor in logical axis order, including rank zero. Complex elements use strings; ragged arrays fail. |
value(as_real | as_tensor type) -> RealTensor | Returns the JSON root as a tensor in logical axis order, including rank zero. Complex elements use strings; ragged arrays fail. |
value(as_complex | as_sparsematrix type) -> ComplexSparseMatrix | Returns the JSON root as a sparse matrix with logical rows; serialization stores dense values. |
value(as_real | as_sparsematrix type) -> RealSparseMatrix | Returns the JSON root as a sparse matrix with logical rows; serialization stores dense values. |
value(as_complex | as_matrix type) -> ComplexMatrix | Returns the JSON root as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings. |
value(const string pointer, as_real | as_matrix type) -> RealMatrix | Returns a JSON Pointer-selected value as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings. |
value(const string pointer, as_complex | as_array type) -> ComplexArray | Returns a JSON Pointer-selected value as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings. |
value(as_bool type) -> Object | Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly. |
value(const string pointer, as_integer | as_array type) -> IntegerArray | Returns a JSON Pointer-selected value as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings. |
value(const string pointer, as_bool | as_array type) -> BoolArray | Returns a JSON Pointer-selected value as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings. |
value(const string pointer, as_string type) -> Object | Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly. |
value(const string pointer, as_complex type) -> Object | Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly. |
value(const string pointer, as_real type) -> Object | Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly. |
value(const string pointer, as_integer type) -> Object | Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly. |
value(const string pointer, as_string | as_list type) -> Object | Returns a flat list of converted primitives. |
value(const string pointer, as_complex | as_list type) -> Object | Returns a flat list of converted primitives. |
value(const string pointer, as_bool type) -> Object | Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly. |
value(as_complex type) -> Object | Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly. |
value(as_string type) -> Object | Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly. |
value(as_bool | as_array type) -> BoolArray | Returns the JSON root as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings. |
value(as_integer | as_array type) -> IntegerArray | Returns the JSON root as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings. |
value(as_real | as_array type) -> RealArray | Returns the JSON root as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings. |
value(as_complex | as_array type) -> ComplexArray | Returns the JSON root as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings. |
value(as_real | as_matrix type) -> RealMatrix | Returns the JSON root as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings. |
value(as_real type) -> Object | Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly. |
value(as_integer type) -> Object | Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly. |
value(as_string | as_list type) -> Object | Returns a flat list of converted primitives. |
value(as_complex | as_list type) -> Object | Returns a flat list of converted primitives. |
value() -> Object | Returns the complete JSON value as detached Aleph maps/lists and primitives. |
value(const string pointer) -> Object | Returns a detached subtree at an existing JSON Pointer location. |
value(const string pointer, as_complex | as_matrix type) -> ComplexMatrix | Returns a JSON Pointer-selected value as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings. |
value(const string pointer, as_real | as_sparsematrix type) -> RealSparseMatrix | Returns a JSON Pointer-selected value as a sparse matrix with logical rows; serialization stores dense values. |
value(const string pointer, as_complex | as_sparsematrix type) -> ComplexSparseMatrix | Returns a JSON Pointer-selected value as a sparse matrix with logical rows; serialization stores dense values. |
value(const string pointer, as_real | as_tensor type) -> RealTensor | Returns a JSON Pointer-selected value as a tensor in logical axis order, including rank zero. Complex elements use strings; ragged arrays fail. |
value(const string pointer, as_complex | as_tensor type) -> ComplexTensor | Returns a JSON Pointer-selected value as a tensor in logical axis order, including rank zero. Complex elements use strings; ragged arrays fail. |
value(const string pointer, as_bool | as_list type) -> Object | Returns a flat list of converted primitives. |
value(const string pointer, as_integer | as_list type) -> Object | Returns a flat list of converted primitives. |
value(const string pointer, as_real | as_list type) -> Object | Returns a flat list of converted primitives. |
value(const string pointer, as_real | as_array type) -> RealArray
Returns a JSON Pointer-selected value as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings.
Parameters
- pointer: RFC 6901 JSON Pointer; an empty string selects the root.
- type: Container and primitive type tag.
value(as_real | as_list type) -> Object
Returns a flat list of converted primitives.
Parameters
- type: Primitive or typed-list tag.
value(as_integer | as_list type) -> Object
Returns a flat list of converted primitives.
Parameters
- type: Primitive or typed-list tag.
value(as_bool | as_list type) -> Object
Returns a flat list of converted primitives.
Parameters
- type: Primitive or typed-list tag.
value(as_complex | as_tensor type) -> ComplexTensor
Returns the JSON root as a tensor in logical axis order, including rank zero. Complex elements use strings; ragged arrays fail.
Parameters
- type: Container and primitive type tag.
value(as_real | as_tensor type) -> RealTensor
Returns the JSON root as a tensor in logical axis order, including rank zero. Complex elements use strings; ragged arrays fail.
Parameters
- type: Container and primitive type tag.
value(as_complex | as_sparsematrix type) -> ComplexSparseMatrix
Returns the JSON root as a sparse matrix with logical rows; serialization stores dense values.
Parameters
- type: Container and primitive type tag.
value(as_real | as_sparsematrix type) -> RealSparseMatrix
Returns the JSON root as a sparse matrix with logical rows; serialization stores dense values.
Parameters
- type: Container and primitive type tag.
value(as_complex | as_matrix type) -> ComplexMatrix
Returns the JSON root as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings.
Parameters
- type: Container and primitive type tag.
value(const string pointer, as_real | as_matrix type) -> RealMatrix
Returns a JSON Pointer-selected value as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings.
Parameters
- pointer: RFC 6901 JSON Pointer; an empty string selects the root.
- type: Container and primitive type tag.
value(const string pointer, as_complex | as_array type) -> ComplexArray
Returns a JSON Pointer-selected value as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings.
Parameters
- pointer: RFC 6901 JSON Pointer; an empty string selects the root.
- type: Container and primitive type tag.
value(as_bool type) -> Object
Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
Parameters
- type: Primitive or typed-list tag.
value(const string pointer, as_integer | as_array type) -> IntegerArray
Returns a JSON Pointer-selected value as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings.
Parameters
- pointer: RFC 6901 JSON Pointer; an empty string selects the root.
- type: Container and primitive type tag.
value(const string pointer, as_bool | as_array type) -> BoolArray
Returns a JSON Pointer-selected value as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings.
Parameters
- pointer: RFC 6901 JSON Pointer; an empty string selects the root.
- type: Container and primitive type tag.
value(const string pointer, as_string type) -> Object
Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
Parameters
- pointer: RFC 6901 JSON Pointer; empty selects the root.
- type: Primitive or typed-list tag.
value(const string pointer, as_complex type) -> Object
Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
Parameters
- pointer: RFC 6901 JSON Pointer; empty selects the root.
- type: Primitive or typed-list tag.
value(const string pointer, as_real type) -> Object
Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
Parameters
- pointer: RFC 6901 JSON Pointer; empty selects the root.
- type: Primitive or typed-list tag.
value(const string pointer, as_integer type) -> Object
Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
Parameters
- pointer: RFC 6901 JSON Pointer; empty selects the root.
- type: Primitive or typed-list tag.
value(const string pointer, as_string | as_list type) -> Object
Returns a flat list of converted primitives.
Parameters
- pointer: RFC 6901 JSON Pointer; empty selects the root.
- type: Primitive or typed-list tag.
value(const string pointer, as_complex | as_list type) -> Object
Returns a flat list of converted primitives.
Parameters
- pointer: RFC 6901 JSON Pointer; empty selects the root.
- type: Primitive or typed-list tag.
value(const string pointer, as_bool type) -> Object
Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
Parameters
- pointer: RFC 6901 JSON Pointer; empty selects the root.
- type: Primitive or typed-list tag.
value(as_complex type) -> Object
Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
Parameters
- type: Primitive or typed-list tag.
value(as_string type) -> Object
Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
Parameters
- type: Primitive or typed-list tag.
value(as_bool | as_array type) -> BoolArray
Returns the JSON root as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings.
Parameters
- type: Container and primitive type tag.
value(as_integer | as_array type) -> IntegerArray
Returns the JSON root as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings.
Parameters
- type: Container and primitive type tag.
value(as_real | as_array type) -> RealArray
Returns the JSON root as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings.
Parameters
- type: Container and primitive type tag.
value(as_complex | as_array type) -> ComplexArray
Returns the JSON root as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings.
Parameters
- type: Container and primitive type tag.
value(as_real | as_matrix type) -> RealMatrix
Returns the JSON root as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings.
Parameters
- type: Container and primitive type tag.
value(as_real type) -> Object
Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
Parameters
- type: Primitive or typed-list tag.
value(as_integer type) -> Object
Returns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
Parameters
- type: Primitive or typed-list tag.
value(as_string | as_list type) -> Object
Returns a flat list of converted primitives.
Parameters
- type: Primitive or typed-list tag.
value(as_complex | as_list type) -> Object
Returns a flat list of converted primitives.
Parameters
- type: Primitive or typed-list tag.
value() -> Object
Returns the complete JSON value as detached Aleph maps/lists and primitives.
value(const string pointer) -> Object
Returns a detached subtree at an existing JSON Pointer location.
Parameters
- pointer: RFC 6901 JSON Pointer; escape ~ as ~0 and / as ~1. Empty selects the root.
value(const string pointer, as_complex | as_matrix type) -> ComplexMatrix
Returns a JSON Pointer-selected value as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings.
Parameters
- pointer: RFC 6901 JSON Pointer; an empty string selects the root.
- type: Container and primitive type tag.
value(const string pointer, as_real | as_sparsematrix type) -> RealSparseMatrix
Returns a JSON Pointer-selected value as a sparse matrix with logical rows; serialization stores dense values.
Parameters
- pointer: RFC 6901 JSON Pointer; an empty string selects the root.
- type: Container and primitive type tag.
value(const string pointer, as_complex | as_sparsematrix type) -> ComplexSparseMatrix
Returns a JSON Pointer-selected value as a sparse matrix with logical rows; serialization stores dense values.
Parameters
- pointer: RFC 6901 JSON Pointer; an empty string selects the root.
- type: Container and primitive type tag.
value(const string pointer, as_real | as_tensor type) -> RealTensor
Returns a JSON Pointer-selected value as a tensor in logical axis order, including rank zero. Complex elements use strings; ragged arrays fail.
Parameters
- pointer: RFC 6901 JSON Pointer; an empty string selects the root.
- type: Container and primitive type tag.
value(const string pointer, as_complex | as_tensor type) -> ComplexTensor
Returns a JSON Pointer-selected value as a tensor in logical axis order, including rank zero. Complex elements use strings; ragged arrays fail.
Parameters
- pointer: RFC 6901 JSON Pointer; an empty string selects the root.
- type: Container and primitive type tag.
value(const string pointer, as_bool | as_list type) -> Object
Returns a flat list of converted primitives.
Parameters
- pointer: RFC 6901 JSON Pointer; empty selects the root.
- type: Primitive or typed-list tag.
value(const string pointer, as_integer | as_list type) -> Object
Returns a flat list of converted primitives.
Parameters
- pointer: RFC 6901 JSON Pointer; empty selects the root.
- type: Primitive or typed-list tag.
value(const string pointer, as_real | as_list type) -> Object
Returns a flat list of converted primitives.
Parameters
- pointer: RFC 6901 JSON Pointer; empty selects the root.
- type: Primitive or typed-list tag.