Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for new case macros #28

Merged
merged 4 commits into from
Mar 22, 2024
Merged

Add docs for new case macros #28

merged 4 commits into from
Mar 22, 2024

Conversation

artememelin
Copy link
Contributor

@artememelin artememelin commented Mar 22, 2024

Pull request checklist

  • Did you bump the project version?
  • Did you add a description to the Pull Request?
  • Did you add new tests?
  • Did you add reviewers?

3.0.0 (22/03/2024)

Added

  • Macro @serde_pascal_case to transform field names from PascalCase to snake_case for deserialization (#26).
  • Macro @serde_camel_case to transform field names from camelCase to snake_case for deserialization (#26).
  • Macro @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

  • Renamed macro @ser_json_name to @ser_name for consistency with other serialization macros (#26).
  • Renamed ignore_null to ser_ignore_null to align with serialization function naming conventions (#26).
  • Renamed ignore_field to ser_ignore_field for clarity in serialization customization (#26).

src/Utl/Macros.jl Outdated Show resolved Hide resolved
src/Utl/Macros.jl Outdated Show resolved Hide resolved
src/Utl/Macros.jl Outdated Show resolved Hide resolved
src/Utl/Macros.jl Outdated Show resolved Hide resolved
src/Utl/Macros.jl Outdated Show resolved Hide resolved
src/Utl/Macros.jl Outdated Show resolved Hide resolved
@artememelin
Copy link
Contributor Author

artememelin commented Mar 22, 2024

@gryumov gryumov force-pushed the macros_docs branch 2 times, most recently from ca31b31 to a51e15b Compare March 22, 2024 11:03
@artememelin artememelin enabled auto-merge (squash) March 22, 2024 11:15
@artememelin artememelin disabled auto-merge March 22, 2024 11:15
@artememelin artememelin enabled auto-merge (squash) March 22, 2024 11:15
@artememelin artememelin disabled auto-merge March 22, 2024 11:16
@artememelin artememelin enabled auto-merge (squash) March 22, 2024 11:16
@artememelin artememelin merged commit 2935a14 into master Mar 22, 2024
4 checks passed
@artememelin artememelin deleted the macros_docs branch March 22, 2024 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants