UNPKG
@croct/json
Version:
latest (2.1.0)
2.1.0
2.0.1
2.0.0
1.1.0
1.0.0
Strong JSON typing for TypeScript.
github.com/croct-tech/json-js
croct-tech/json-js
@croct/json
/
jsonOperations.d.ts
5 lines
(4 loc)
•
242 B
TypeScript
View Raw
1
2
3
4
5
import
{
JsonValue
}
from
'./mutable'
;
import
{
ReadonlyJsonCompatible
}
from
'./readonly'
;
export
declare
const
parseJson
:
(
jsonString
:
string
) =>
JsonValue
;
export
declare
const
serializeJson
:
(
jsonValue
:
ReadonlyJsonCompatible
) =>
string
;