spring-attic / rest-shell

Command-line shell for interacting with Spring HATEOAS-compliant REST resources
Apache License 2.0
455 stars 100 forks source link

Adding formatter to display the output #17

Open skuppa opened 11 years ago

skuppa commented 11 years ago

Can we provide pluggable formatter and provide out of the box formatter such as xml, json to parse and display readable format to the user.


# without formatter
http://host:port > get persons
{[person {..}, person {..} ] }

# with formatter
http://host:port > set formatter json
http://host:port > get persons
{
  [
    person {..},
    person {..}
  ] 
}

hypno2000 commented 11 years ago

+1 to that