Revize 84937a3f
Přidáno uživatelem Jan Havlíček před asi 4 roky(ů)
project/Deserializer/src/jdeserialize/content.java | ||
---|---|---|
69 | 69 |
*/ |
70 | 70 |
public void setIsExceptionObject(boolean value); |
71 | 71 |
|
72 |
/** |
|
73 |
* <p> |
|
74 |
* Analogy for toString method; however, outputs its string in json formatting. |
|
75 |
* Returns the exact json representation of object with indentation. |
|
76 |
* |
|
77 |
* <p> |
|
78 |
* Inherited by multiple classes via contentbase, often calls itself for another object |
|
79 |
* |
|
80 |
* @param indentation starting indentation for json output |
|
81 |
* @param fielddata used when calling this method for inner instances |
|
82 |
* so the instance has info about its variables |
|
83 |
* @param child tells that the instance is child of another because of indentation |
|
84 |
* @return The string in json format representing this instance |
|
85 |
*/ |
|
72 | 86 |
public String toJson(String indentation, Map<classdesc, Map<field, Object>> fielddata, boolean child); |
73 | 87 |
} |
74 | 88 |
|
Také k dispozici: Unified diff
re #7893 comments into code and Javadoc
Added for jdeserialize and its usage in Converter.java
Not sure if this level of refactoring is enough - better check