Closed zummenix closed 8 years ago
The build error seems unrelated. @ebarnard, do you want me to fix it in this PR?
Don't worry about the build error.
PR's good except can you drop as_data_mut and change as_data to return &[u8]. It seems odd to give mutable access to Data but not to String.
Sure. Done.
Thanks
This is basically the same as in
serde_json
.