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)
| 382 | * @throws JsonException if allowed depth has been reached |
| 383 | */ |
| 384 | public JsonOutput write(@Nullable Object value) { |
| 385 | return write(value, MAX_DEPTH); |
| 386 | } |
| 387 | |
| 388 | /** |
| 389 | * Serialize the specified Java object as a JSON value. |