Skip to content

Commit 1d8afd1

Browse files
authored
Update README.md
1 parent 574d7ab commit 1d8afd1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,13 @@ for(new i = 0; i < json_array_length(stringJson, "arrayWithObject"); i++) {
4747

4848
# 🚀 Natives
4949
```pawn
50-
json_string(const jsonStr[], const key[], value[], const size = sizeof(value))
51-
json_int(const jsonStr[], const key[], &value)
52-
json_float(const jsonStr[], const key[], &Float:value)
53-
json_array_length(const jsonStr[], const key[])
54-
json_array_get(const jsonStr[], const key[], index, value[], const size = sizeof(value))
50+
bool:json_has_key(const jsonStr[], const key[]);
51+
bool:json_string(const jsonStr[], const key[], value[], const size = sizeof(value))
52+
bool:json_int(const jsonStr[], const key[], &value)
53+
bool:json_float(const jsonStr[], const key[], &Float:value)
54+
bool:json_bool(const jsonStr[], const key[], &:value)
55+
bool:json_array_length(const jsonStr[], const key[])
56+
bool:json_array_get(const jsonStr[], const key[], index, value[], const size = sizeof(value))
5557
```
5658

5759
# 🤍 Thanks

0 commit comments

Comments
 (0)