Hi all,

I've been working with Elizio on this problem and we are having a hard time. :) 
We were unable to find the appropriate way to provide custom JSON parsers and 
writers in ERRest. Is that possible? If so, how?

We've found a way to provide a custom writer by extending the ERRestJSONWriter 
class. The solution doesn't look like the appropriate solution though. :) 
Anyway, we were unable to provide a custom parser by extending the 
ERRestJSONParser.

The only solution we've found was changing the internal ERRest parse mechanism 
to understand the ERXCryptoString type. Unless we're missing something, we're 
considering the lack of support to ERXCryptoString in ERRest as a bug and we're 
willing to create a pull request to fix it.

Any thoughts?

Cheers,

Henrique

Sent from my iPhone

> On 05/11/2013, at 00:21, Elizio Marcelino <[email protected]> wrote:
> 
> Hello Guys,
> 
> I am new to WebObjects, and I have a problem.
> 
> I'm using the ERXCryptoString for some fields, but I need to expose this 
> information via ERRest, but when phaco this value is shown: {}.
> 
> Is there any way to expose the data unencrypted form "automatic"
> passing a formatter if any?
> 
> Thank you,
> Elizio Marcelino
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
> 
> This email sent to [email protected]
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to