| Package | Description |
|---|---|
| org.opencastproject.util |
Utility classes for dealing with media packages, collections, URLs, files, and streams.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Jsons.Arr |
static class |
Jsons.Obj |
| Modifier and Type | Field and Description |
|---|---|
static Jsons.Val |
Jsons.NULL
JSON null.
|
static Jsons.Val |
Jsons.ZERO_VAL
Identity for
values. |
| Modifier and Type | Field and Description |
|---|---|
static Function<Jsons.Prop,Jsons.Val> |
Jsons.getVal
Get the value from a property.
|
static Function<Jsons.Val,Boolean> |
Jsons.notZero
Check if a value is not
Jsons.ZERO_VAL. |
static Function<String,Jsons.Val> |
Jsons.stringVal |
| Modifier and Type | Method and Description |
|---|---|
Jsons.Val |
Jsons.Prop.getVal() |
static Jsons.Val |
Jsons.v(Boolean v) |
static Jsons.Val |
Jsons.v(Date v) |
static Jsons.Val |
Jsons.v(Number v) |
static Jsons.Val |
Jsons.v(String v) |
| Modifier and Type | Method and Description |
|---|---|
List<Jsons.Val> |
Jsons.Arr.getVals() |
| Modifier and Type | Method and Description |
|---|---|
static Jsons.Arr |
Jsons.arr(Jsons.Val... vs)
Create an array.
|
static Jsons.Prop |
Jsons.p(String key,
Jsons.Val val)
Create a property.
|
| Modifier and Type | Method and Description |
|---|---|
static Jsons.Arr |
Jsons.arr(List<Jsons.Val> vs)
Create an array.
|
static Jsons.Arr |
Jsons.arr(Monadics.ListMonadic<Jsons.Val> vs)
Create an array.
|
static Jsons.Prop |
Jsons.p(String key,
Option<Jsons.Val> val)
Create a property.
|
| Constructor and Description |
|---|
Arr(List<Jsons.Val> vals) |
Copyright © 2009–2021 Opencast Project. All rights reserved.