src/json.c

changeset 1417
b97faf8b7ab7
parent 1415
40074e643663
--- a/src/json.c	Wed Oct 08 20:09:32 2025 +0200
+++ b/src/json.c	Wed Oct 08 20:20:54 2025 +0200
@@ -1141,7 +1141,7 @@
     );
 }
 
-CxJsonValue *cx_json_obj_get_cxstr(const CxJsonValue *value, cxstring name) {
+CxJsonValue *cx_json_obj_get(const CxJsonValue *value, cxstring name) {
     size_t index = json_find_objvalue(value, name);
     if (index >= value->value.object.values_size) {
         return &cx_json_value_nothing;
@@ -1150,7 +1150,7 @@
     }
 }
 
-CxJsonValue *cx_json_obj_remove_cxstr(CxJsonValue *value, cxstring name) {
+CxJsonValue *cx_json_obj_remove(CxJsonValue *value, cxstring name) {
     size_t index = json_find_objvalue(value, name);
     if (index >= value->value.object.values_size) {
         return NULL;

mercurial