-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Improve docs on JSON #15675
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
Improve docs on JSON #15675
Conversation
|
||
This examples above uses the `ToJson` trait to generate the JSON string, required for custom mappings. | ||
|
||
### Simle example of `ToJson` usage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Simple"
Fix the line length issue that Travis complained about. |
## Using `ToJson` | ||
## Using the `ToJson` trait | ||
|
||
The examples above uses the `ToJson` trait to generate the JSON string, required for custom |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"The examples above use"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and also "string, which is required"
lgtm after those two tiny changes. |
- add one simple example of using `ToJson` trait - make example code more readable
@steveklabnik thanks for paying attention to my typos, I fixed them now :) |
@alexcrichton I don't seem to see an error. There are some warning though, but all changes here are in comments... Any ideas? |
It looks like a spurious failure, and @huonw write |
- add one simple example of using `ToJson` trait - make example code more readable
ToJson
trait