ractise.halbuilder-json.4.1.1.source-code.exampleWithSubresource.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of halbuilder-json Show documentation
Show all versions of halbuilder-json Show documentation
HAL+JSON serializer/deserializer extension to the HalBuilder Library
<resource xmlns:ns="https://example.com/apidocs/ns/{rel}" xmlns:role="https://example.com/apidocs/role/{rel}" href="https://example.com/api/customer/123456"> <link rel="ns:parent" href="https://example.com/api/customer/1234" name="bob" title="The Parent" hreflang="en" /> <link rel="ns:users" href="https://example.com/api/customer/123456?users" /> <resource href="https://example.com/user/11" rel="ns:user"> <age>32</age> <expired>false</expired> <id>11</id> <name>Example User</name> <optional>true</optional> </resource> </resource>