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@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|