27 lines
435 B
Plaintext
27 lines
435 B
Plaintext
|
|
||
|
{{alias}}( key, value )
|
||
|
Revives a JSON-serialized 128-bit complex number.
|
||
|
|
||
|
Parameters
|
||
|
----------
|
||
|
key: string
|
||
|
Key.
|
||
|
|
||
|
value: any
|
||
|
Value.
|
||
|
|
||
|
Returns
|
||
|
-------
|
||
|
out: any
|
||
|
Value or complex number.
|
||
|
|
||
|
Examples
|
||
|
--------
|
||
|
> var str = '{"type":"Complex128","re":5,"im":3}';
|
||
|
> var z = {{alias:@stdlib/utils/parse-json}}( str, {{alias}} )
|
||
|
<Complex128>
|
||
|
|
||
|
See Also
|
||
|
--------
|
||
|
|