gschlossnagle / json-template

Automatically exported from code.google.com/p/json-template
0 stars 0 forks source link

Add {foo.bar.baz} attribute lookup #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The lookup for 'foo' looks up the stack.  Subsequent lookups for bar and
baz are "simple".

Original issue reported on code.google.com by gtempacc...@yahoo.com on 30 Apr 2009 at 6:28

GoogleCodeExporter commented 8 years ago
Done in both Python and JavaScript.  Need Java and PHP.

Original comment by gtempacc...@yahoo.com on 10 May 2009 at 6:51

GoogleCodeExporter commented 8 years ago
Done in PHP I think

Original comment by gtempacc...@yahoo.com on 7 Nov 2009 at 9:19

GoogleCodeExporter commented 8 years ago
There is Java implementation.

Original comment by isungu...@issart.com on 6 Mar 2012 at 6:06

Attachments:

GoogleCodeExporter commented 8 years ago
Hi, thanks for the patch.  I haven't seen any activity on the Java version in a 
long time.  I have added quite a few features to Python and JavaScript since, 
all of which are reflected in the cross platform tests (these tests are 
disabled for Java/PHP).  If you're interested in using and maintaining I could 
give you rights to commit this patch -- I personally won't be 
patching/releasing it.

Original comment by andyc...@gmail.com on 6 Mar 2012 at 7:46

GoogleCodeExporter commented 8 years ago
We decided to use Java version of JSON template in our project so what would be 
great (since I anyway will fix bugs)

Original comment by isungu...@issart.com on 6 Mar 2012 at 8:30

GoogleCodeExporter commented 8 years ago
OK, I added you as committer.  Please don't commit to anything besides the Java 
version without sending a mail first.

Also, have you run the cross platform tests?  You should run:

http://code.google.com/p/json-template/source/browse/jsontemplate_test.py

I think with --java, and then enable Java for the ones that now pass.  It will 
be DottedLookupTest at least.

You'll have to check out the test framework repo:

http://code.google.com/p/taste/

And then set PYTHONPATH so that the tests can import it.  If you need help with 
this let me know (I should probably have some docs somewhere).  The tests 
should make it very easy to add all the missing features to the Java version.

Original comment by andyc...@gmail.com on 6 Mar 2012 at 9:14

GoogleCodeExporter commented 8 years ago
Thanks, Andy. DottedLookupTest tests were passed.

Original comment by isungu...@issart.com on 12 Mar 2012 at 8:38