lua: json: allow keys inside objects to be without quotes

This commit is contained in:
George Kiagiadakis
2023-10-17 15:40:54 +03:00
parent 6eed30cf77
commit 0bc6ca6a2d

View File

@@ -145,7 +145,6 @@ push_luajson (lua_State *L, WpSpaJson *json)
WpSpaJson *key = g_value_get_boxed (&item);
g_autofree gchar *key_str = NULL;
WpSpaJson *value = NULL;
g_warn_if_fail (wp_spa_json_is_string (key));
key_str = wp_spa_json_parse_string (key);
g_warn_if_fail (key_str);
g_value_unset (&item);