Morning guys,
Firstly, awesome library.
I found that the following works …
ImmutableRatesProvider ratesProvider = ImmutableRatesProvider.builder(VAL_DATE).build();
JodaBeanSer ser = JodaBeanSer.COMPACT;
String result = ser.xmlWriter().write(ratesProvider);
Bean cycled = ser.xmlReader().read(result);
But the following fails
ImmutableRatesProvider ratesProvider = ImmutableRatesProvider.builder(VAL_DATE).build();
JodaBeanSer ser = JodaBeanSer.COMPACT;
String result = ser.jsonWriter().write(ratesProvider);
Bean cycled = ser.jsonReader().read(result);
Writing json works, but reading it back in fails.
Best.