We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fd0fb1 commit 05eb236Copy full SHA for 05eb236
1 file changed
libs/pl_json.h
@@ -13,8 +13,8 @@
13
*/
14
15
// library version (format XYYZZ)
16
-#define PL_JSON_VERSION "1.0.1"
17
-#define PL_JSON_VERSION_NUM 10001
+#define PL_JSON_VERSION "1.0.2"
+#define PL_JSON_VERSION_NUM 10002
18
19
/*
20
Index of this file:
@@ -1130,14 +1130,7 @@ plJsonObject*
1130
pl_json_member(plJsonObject* ptJson, const char* pcName)
1131
{
1132
plJsonObject* ptMember = pl_json_member_by_name(ptJson, pcName);
1133
-
1134
- if(ptMember)
1135
- {
1136
- PL_ASSERT(ptMember->tType == PL_JSON_TYPE_OBJECT);
1137
- if(ptMember->tType == PL_JSON_TYPE_OBJECT)
1138
- return ptMember;
1139
- }
1140
- return NULL;
+ return ptMember;
1141
}
1142
1143
plJsonObject*
0 commit comments