How do I implement Restlet function which accepts JSON post? And how do I test this using curl?

Thanks

Edit
Report