Skip to content

Commit

Permalink
re-unescaping
Browse files Browse the repository at this point in the history
  • Loading branch information
FourierTransformer committed Jul 31, 2024
1 parent efcd844 commit 357bfdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/luasimdjson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void convert_ondemand_element_to_table(lua_State *L, ondemand::value element) {
case ondemand::json_type::object:
lua_newtable(L);
for (auto field : element.get_object()) {
std::string_view s = field.escaped_key();
std::string_view s = field.unescaped_key();
lua_pushlstring(L, s.data(), s.size());
convert_ondemand_element_to_table(L, field.value());
lua_settable(L, -3);
Expand Down

0 comments on commit 357bfdc

Please sign in to comment.