Skip to content

Conversation

1046102779
Copy link
Contributor

测试结果:目前只提供了解析,后续会提供序列化
image

@Kisesy
Copy link
Contributor

Kisesy commented Jun 7, 2017

我觉得应开放时间格式自定义

@taowen
Copy link
Contributor

taowen commented Jun 7, 2017

you can create a new package. And implement the Decoder/Encoder function for various date format. The functionality can be plugin by RegisterTypeEncoder/RegisterTypeDecoder

@1046102779
Copy link
Contributor Author

if i creates a new decoder package, i can't access jsoniter's any method such as func (c *Iterator) nextToken() and its members. What should I do?

@1046102779
Copy link
Contributor Author

image
image

@1046102779 1046102779 closed this Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants