> +        {
> +            "databases": [
> +                {
> +                    "name": "sampledb"
> +                }
> +            ],
> +            "host": "%",
> +            "name": "demouser"
> +        }
> +    ]
> +}
> +{% endhighlight %}
> +
> +To parse the response, jclouds uses [domain 
> classes](https://github.com/jclouds/jclouds/blob/master/apis/openstack-trove/src/main/java/org/jclouds/openstack/trove/v1/domain/User.java)
>  to represent the JSON data returned by the service. The array of "users" is 
> unwrapped into individual User domain objects. Conversely, when creating 
> users, domain objects are transformed into a JSON request body. 
> +
> +Because of the relative simplicity of user creation in trove, jclouds 
> developers can use a create method in the features package without having to 
> build an instance of the User class. For example, the developer might use a 
> method such as

[minor] "Trove"? And `User` again?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/124/files#r17126236

Reply via email to