mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
256 B
TypeScript
13 lines
256 B
TypeScript
rison.encode({hello: "world"});
|
|
|
|
rison.encode_object({hello: "1", world: 2});
|
|
|
|
rison.encode_array([1, 2, "test"]);
|
|
|
|
rison.encode_uri({hello: "world"});
|
|
|
|
rison.decode("{test:1}");
|
|
|
|
rison.decode_object<any>("test:1");
|
|
|
|
rison.decode_array<number>("1,2,1337"); |