Discussion:
How to provide missing value lookup?
Troy Melhase
2010-03-22 17:56:06 UTC
Permalink
Hi,

I'd like to have json templates where missing values can be found via
a function call. Reading through the source, I'm not quite sure what
the best approach to this would be, but it seems like
setting`undefined_str` to a function and modifying `_Undefined()` to
check for a callable would be the best approach. Yes, no, maybe,
something else?


I'm using the js version, and I'm happy to write and submit the
patch. Thanks,

troy
--
You received this message because you are subscribed to the Google Groups "JSON Template" group.
To post to this group, send email to json-template-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to json-template+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/json-template?hl=en.
Loading...