On 12/8/06, Alexander Saar <[EMAIL PROTECTED]> wrote:
It does nothing really different than the existing JSON writer. But I
need to transform the content of some fields like URLs for indexed
documents.
These URLs are posted to the index by another component I can't change,
so I have to do the transformation on the results of a query. I'm sure
this can also be done with JavaScript, but I think it is easier to do it
with Java.
It might be easier to make your own field type by subclassing an
existing one... that way the change would be independent of output
syntax.
I'm not opposed to making JSONWriter public (for expert use) either though.
-Yonik