forked from Mirrors/jsonapi
commit
d9a610774a
|
@ -181,7 +181,7 @@ to-many from being serialized.
|
|||
**All `Marshal` and `Unmarshal` methods expect pointers to struct
|
||||
instance or slices of the same contained with the `interface{}`s**
|
||||
|
||||
Now you have your structs prepared to be seralized or materialized, What
|
||||
Now you have your structs prepared to be serialized or materialized, What
|
||||
about the rest?
|
||||
|
||||
### Create Record Example
|
||||
|
|
2
doc.go
2
doc.go
|
@ -49,7 +49,7 @@ Value, attr: "attr,<key name in attributes hash>[,<extra arguments>]"
|
|||
|
||||
These fields' values should end up in the "attribute" hash for a record. The first
|
||||
argument must be, "attr', and the second should be the name for the key to display in
|
||||
the the "attributes" hash for that record.
|
||||
the "attributes" hash for that record.
|
||||
|
||||
The following extra arguments are also supported:
|
||||
|
||||
|
|
Loading…
Reference in New Issue