REST | JSON | BadgerFish

0
Is the REST module also able to handle the BadgerFish JSON flavour instead of the native JSON flavour ?
asked
2 answers
1

From what I have read on http://badgerfish.ning.com/. Seems that it is possible.

From the documentation it says:

<alice>bob</alice>

becomes

{ "alice": { "$" : "bob" } }

So to do this in the rest module simply create an entity in the domain module and create another entity and add an association called alice. In the other entity add an attribute called "_" this will pick up the attribute $ from the object.

I hope this helps.

answered
0

Hi Simon,

Thanks for your answers.

I will check this out.

I was about to find out how to do the parsing in Java code, but your answer potentially can save me days of work.

Thanks again.

Regards, Arun

answered