On 9/22/06, Ryan Gahl <[EMAIL PROTECTED]> wrote:

> In that case why not make your JSON output represent the sql NULLs as an
> enumeration or other mapping to the corresponding server side null
> representation.

I am afraid, I do not quite understand you. I use PHP. PHP presents a
SQL-NULL as NULL, a PHP data type. And I convert such data to JSON as
in [3, 4, 1, null, 2, 4, null]. I believe this to be quite sensible.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to