optype.json
Type aliases for the json standard library:
Value |
AnyValue |
json.load(s) return type |
json.dumps(s) input type |
|---|---|
Array[V: Value = Value] |
AnyArray[~V: AnyValue = AnyValue] |
Object[V: Value = Value] |
AnyObject[~V: AnyValue = AnyValue] |
The (Any)Value can be any json input, i.e. Value | Array | Object is
equivalent to Value.
It's also worth noting that Value is a subtype of AnyValue, which means
that AnyValue | Value is equivalent to AnyValue.