twinstar6980 / Twinning

https://github.com/twinstar6980/Twinning.Documentation
GNU General Public License v3.0
59 stars 12 forks source link

Loosen Kernel Json Library #18

Closed Haruma-VN closed 1 year ago

Haruma-VN commented 1 year ago

I have added the version: 6 to the pam json, later toolkit doesn't support the conversion due to non-used properties appear. Can this be loosen in Kernel like you did with the Helper? image image

twinstar6980 commented 1 year ago

Strict JSON structure is the expected behavior of the Kernel and there are no plans to change this behavior. If you need looser JSON, you need to modify Kernel/kernel/utility/support/json.hpp: line 677: delete line 680: delete line 681: change to thix_object.query_force(make_string_view(Field::name.view())).value.to(Field::value_of(that));