Skip to content

Commit

Permalink
Merge pull request #13 from yubessy/verup
Browse files Browse the repository at this point in the history
Verup
  • Loading branch information
yubessy authored Jan 27, 2019
2 parents f4fd358 + c086b24 commit 9e029e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "ToStruct"
uuid = "43ec2cc1-0e50-5406-a854-b7ff8fdb8dad"
authors = ["Shotaro Tanaka"]
version = "0.1.1"
version = "0.2.0"
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ struct Bar
foo::Foo
end
raw = Dict("foo" => Dict("i" => 1, "s" => "hello"))
ToStruct.tostruct(raws, Bar)
Bar(Foo(1, "hello"))
x = Dict("foo" => Dict("i" => 1, "s" => "hello"))
ToStruct.tostruct(Bar, x) == Bar(Foo(1, "hello")) # true
```

0 comments on commit 9e029e5

Please # to comment.