mirror of
https://git.telodendria.io/Telodendria/Cytoplasm.git
synced 2025-04-28 20:06:02 +00:00
[ADD] Add JsonValueDecode to decode a simple value
This commit is contained in:
parent
8df5f0f1c1
commit
39e81139f0
2 changed files with 25 additions and 0 deletions
|
@ -297,6 +297,12 @@ extern size_t JsonEncode(HashMap *, Stream *, int);
|
|||
*/
|
||||
extern HashMap * JsonDecode(Stream *);
|
||||
|
||||
/**
|
||||
* Decodes a JSON value from thr current input strram and parse it
|
||||
* into a JsonValue.
|
||||
*/
|
||||
extern JsonValue * JsonValueDecode(Stream *);
|
||||
|
||||
/**
|
||||
* A convenience function that allows the caller to retrieve and
|
||||
* arbitrarily deep keys within a JSON object. It takes a root JSON
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue