yuwei5380 / jsonplugin

Automatically exported from code.google.com/p/jsonplugin
0 stars 0 forks source link

Getters/Setters In Extended Classes Are Not Set In Return Of JSON #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create class with getter and setter methods
2. Create a new class that extends class in 1
3. Return JSON format of class in 2.
4. Note missing getters/setters from class 1

What is the expected output? What do you see instead?
Expected output would include getter/setters from extended class

What version of the product are you using? On what operating system?
jsonlugin-0.33.jar

Please provide any additional information below.

Example action:
<action name="ajaxSave" class="json.plugin.InvoiceJSONAction" method="save">
    <result type="json"/>
</action>

Original issue reported on code.google.com by ets04...@gmail.com on 1 Jul 2009 at 4:53

GoogleCodeExporter commented 8 years ago
Please see the documentation, you can set:

<param name="ignoreHierarchy">false</param> 

Original comment by musa...@gmail.com on 28 Jul 2009 at 4:34