Skip to content

Commit

Permalink
extra::json: add documentation and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
musitdev committed Jan 19, 2014
1 parent 339946c commit aeb5416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libextra/json.rs
Expand Up @@ -70,7 +70,7 @@ use extra::serialize::Encodable;
fn main() {
let to_encode_object = TestStruct{data_str:~"example of string to encode"};
let mut m = io::mem::MemWriter::new();
let mut m = io::MemWriter::new();
{
let mut encoder = json::Encoder::new(&mut m as &mut std::io::Writer);
to_encode_object.encode(&mut encoder);
Expand Down

17 comments on commit aeb5416

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 19, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from cmr
at musitdev@aeb5416

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 19, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging musitdev/rust/jsondoc2 = aeb5416 into auto

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 19, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

musitdev/rust/jsondoc2 = aeb5416 merged ok, testing candidate = d9f8e69c

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 19, 2014

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 19, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from cmr
at musitdev@aeb5416

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 19, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging musitdev/rust/jsondoc2 = aeb5416 into auto

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 19, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

musitdev/rust/jsondoc2 = aeb5416 merged ok, testing candidate = 341d64bb

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 19, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 19, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from cmr
at musitdev@aeb5416

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 19, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging musitdev/rust/jsondoc2 = aeb5416 into auto

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 19, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

musitdev/rust/jsondoc2 = aeb5416 merged ok, testing candidate = bf0043d

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from cmr
at musitdev@aeb5416

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging musitdev/rust/jsondoc2 = aeb5416 into auto

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

musitdev/rust/jsondoc2 = aeb5416 merged ok, testing candidate = 0e6455e

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on aeb5416 Jan 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 0e6455e

Please sign in to comment.