Using custom write and read #810
Replies: 7 comments 1 reply
-
Hi @XiaoJie-150 thanks for your question. Can you please elaborate what is the relationship between this question and JSON Schema? Thanks. |
Beta Was this translation helpful? Give feedback.
-
I saw that there are custom read and write functions on the Wiki. If I can't use this custom content, what's the point of registering it? |
Beta Was this translation helpful? Give feedback.
-
Still don't know what you are talking about. Can you please explain your use case and why your are using JSON Schema specification? |
Beta Was this translation helpful? Give feedback.
-
Did you think I was talking about the operation of JSONSchema? Maybe you misunderstood. I was referring to the usage of ObjectReader and ObjectWriter. |
Beta Was this translation helpful? Give feedback.
-
That has nothing to do with JSON Schema specification. Are you speaking about a specific JSON Schema implementation? In that case you should ask in their repository. |
Beta Was this translation helpful? Give feedback.
-
No no no, I mean this https://github.com/alibaba/fastjson2/wiki/register_custom_reader_writer_cn |
Beta Was this translation helpful? Give feedback.
-
Oh! Sorry, I didn't realize this is the JSON Schema discussion group |
Beta Was this translation helpful? Give feedback.
-
I saw the registration method for custom write and read in the Wiki on GitHub, but I can't find how to use the custom one. How can I use it?
Beta Was this translation helpful? Give feedback.
All reactions