You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Feature] JSON Serialize Method with C++ reflection (#335)
This PR provides functionality similar to #277, but leverages C++
reflection to eliminate the need for manually defining
serialization/deserialization rules for each class. It builds on top of
#334, and should be merged after #334 is approved.
### What's new in this PR:
1. Introduced `AutoJSONSerialize` and `AutoJSONDeserialize` to enable
reflection-based JSON serialization.
2. Refactored `tokenizer_info.cc`: moved the definition of
`TokenizerInfo::Impl` into a separate file to support serialization.
3. Added Python bindings for JSON serialization (via `JSONSerializer`)
and corresponding tests.
0 commit comments