Serialize the specified Java object as a JSON value. NOTE : This method limits traversal of nested objects to the default #MAX_DEPTH maximum depth. @param value Java object to serialize @return this JsonOutput object @throws JsonException if allowed depth has been reached
(@Nullable Object value)
| 397 | * @throws JsonException if allowed depth has been reached |
| 398 | */ |
| 399 | public JsonOutput write(@Nullable Object value) { |
| 400 | return write(value, MAX_DEPTH); |
| 401 | } |
| 402 | |
| 403 | /** |
| 404 | * Serialize the specified Java object as a JSON value. |