(final String jsonText)
| 388 | } |
| 389 | |
| 390 | public static ContentResource json(final String jsonText) { |
| 391 | return json(text(checkNotNullOrEmpty(jsonText, "Json should not be null"))); |
| 392 | } |
| 393 | |
| 394 | public static ContentResource json(final Resource resource) { |
| 395 | checkNotNull(resource, "Json should not be null"); |