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