Open b41sh opened 1 week ago
Pointed the jsonb
dependency to a new GitHub repository
The change in the 'jsonb' resource location will ensure that our project is working with the latest, most stable version of this tool.
Introduced RawJsonb
for variant JSON handling
We've added a new way of managing the different forms of JSON we encounter in our project through RawJsonb
. It improves the consistency and reliability of our JSON operations.
Adopted RawJsonb
for JSON string conversion in multiple files
Many parts of our code have now been updated to take advantage of RawJsonb
for turning JSON into strings. This results in a more streamlined, unified approach to dealing with JSON.
Modified JSON serialization/deserialization to use RawJsonb
Our methods for turning objects into JSON (serialization) and reading objects from JSON (deserialization) have been redesigned to make use of RawJsonb
. This simplifies these processes and enhances their effectiveness.
Replaced โjsonb::to_stringcalls with
RawJsonb` conversions
Direct calls to turn JSON into strings have now been switched with RawJsonb
conversions, enhancing clarity and encapsulating our approach for handling this task.
Overall benefits Overall, these changes help in streamlining our JSON handling operations, making them more consistent and type-safe.
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
refactor json functions
Tests
Type of change
This change isโ