Closed artememelin closed 3 months ago
@serde_pascal_case
@serde_camel_case
@serde_kebab_case
Serde.ser_name
Serde.ser_value
Serde.ser_type
Serde.ser_ignore_field
@ser_json_name
@ser_name
ignore_null
ser_ignore_null
ignore_field
ser_ignore_field
DOCS
https://bhftbootcamp.github.io/Serde.jl/previews/PR28/
Pull request checklist
3.0.0 (22/03/2024)
Added
@serde_pascal_case
to transform field names from PascalCase to snake_case for deserialization (#26).@serde_camel_case
to transform field names from camelCase to snake_case for deserialization (#26).@serde_kebab_case
to transform field names from kebab-case to snake_case for deserialization (#26).Serde.ser_name
to override the default field name serialization (#26).Serde.ser_value
to override the default value serialization (#26).Serde.ser_type
to override the default type serialization (#26).Serde.ser_ignore_field
to determine if a field should be ignored during serialization (#26).Changed
@ser_json_name
to@ser_name
for consistency with other serialization macros (#26).ignore_null
toser_ignore_null
to align with serialization function naming conventions (#26).ignore_field
toser_ignore_field
for clarity in serialization customization (#26).