Skip to content

Comments

feat:(encoder) add optimazing options#168

Merged
AsterDY merged 2 commits intomainfrom
fix/encode_opt
Jan 5, 2022
Merged

feat:(encoder) add optimazing options#168
AsterDY merged 2 commits intomainfrom
fix/encode_opt

Conversation

@AsterDY
Copy link
Collaborator

@AsterDY AsterDY commented Jan 5, 2022

  • NoCompactMarshaler to avoid calling json.Compace() after encoding json.Marshaler
  • NoQuoteTextMarshler to avoid calling encodingString() after encoding encoding.TextMarshaler
  • EscapeHTML to call json.EscapeHTML() after serializing

@AsterDY AsterDY merged commit 14121d6 into main Jan 5, 2022
@AsterDY AsterDY deleted the fix/encode_opt branch January 5, 2022 06:20
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.

2 participants