(Object json)
| 195 | |
| 196 | // In Java, wire up your preferred JSON lib and return Map/List accordingly. |
| 197 | public static Object parseJson(Object json) { |
| 198 | // placeholder: return the string itself (or plug in Jackson/Gson here) |
| 199 | return JsonHelper.deserialize((String) json); |
| 200 | } |
| 201 | |
| 202 | public static boolean isTrue(Object value) { |
| 203 | if (value == null) return false; |
no test coverage detected