Skip to main content

value

Method of JSONFile.

Overloads​

NameDescription
value(const string pointer, as_real | as_array type) -> RealArrayReturns 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) -> ObjectReturns a flat list of converted primitives.
value(as_integer | as_list type) -> ObjectReturns a flat list of converted primitives.
value(as_bool | as_list type) -> ObjectReturns a flat list of converted primitives.
value(as_complex | as_tensor type) -> ComplexTensorReturns 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) -> RealTensorReturns 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) -> ComplexSparseMatrixReturns the JSON root as a sparse matrix with logical rows; serialization stores dense values.
value(as_real | as_sparsematrix type) -> RealSparseMatrixReturns the JSON root as a sparse matrix with logical rows; serialization stores dense values.
value(as_complex | as_matrix type) -> ComplexMatrixReturns 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) -> RealMatrixReturns 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) -> ComplexArrayReturns 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) -> ObjectReturns 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) -> IntegerArrayReturns 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) -> BoolArrayReturns 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) -> ObjectReturns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
value(const string pointer, as_complex type) -> ObjectReturns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
value(const string pointer, as_real type) -> ObjectReturns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
value(const string pointer, as_integer type) -> ObjectReturns 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) -> ObjectReturns a flat list of converted primitives.
value(const string pointer, as_complex | as_list type) -> ObjectReturns a flat list of converted primitives.
value(const string pointer, as_bool type) -> ObjectReturns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
value(as_complex type) -> ObjectReturns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
value(as_string type) -> ObjectReturns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
value(as_bool | as_array type) -> BoolArrayReturns 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) -> IntegerArrayReturns 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) -> RealArrayReturns 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) -> ComplexArrayReturns 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) -> RealMatrixReturns the JSON root as an array or matrix with logical rows (flat inputs are row vectors). Complex elements use strings.
value(as_real type) -> ObjectReturns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
value(as_integer type) -> ObjectReturns one converted scalar. Native real-to-integer conversion truncates with range checks; textual integers are parsed strictly.
value(as_string | as_list type) -> ObjectReturns a flat list of converted primitives.
value(as_complex | as_list type) -> ObjectReturns a flat list of converted primitives.
value() -> ObjectReturns the complete JSON value as detached Aleph maps/lists and primitives.
value(const string pointer) -> ObjectReturns a detached subtree at an existing JSON Pointer location.
value(const string pointer, as_complex | as_matrix type) -> ComplexMatrixReturns 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) -> RealSparseMatrixReturns 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) -> ComplexSparseMatrixReturns 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) -> RealTensorReturns 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) -> ComplexTensorReturns 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) -> ObjectReturns a flat list of converted primitives.
value(const string pointer, as_integer | as_list type) -> ObjectReturns a flat list of converted primitives.
value(const string pointer, as_real | as_list type) -> ObjectReturns 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.