JsonAPI

org.beangle.data.jsonapi.JsonAPI$
object JsonAPI

Create JSON api

Attributes

See also:
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
JsonAPI.type

Members list

Concise view

Type members

Classlikes

class Context

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
class Filter(val includes: Set[String], val excludes: Set[String])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
class Filters

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
object Identifier

Resource Identifier Object

Resource Identifier Object

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class Json extends Properties

Attributes

Graph
Supertypes
class Properties
trait Map[String, Any]
trait MapOps[String, Any, Map, Map[String, Any]]
trait Shrinkable[String]
trait Builder[(String, Any), Map[String, Any]]
trait Growable[(String, Any)]
trait Clearable
trait Cloneable[Map[String, Any]]
trait Cloneable
trait Map[String, Any]
trait Equals
trait MapFactoryDefaults[String, Any, Map, Iterable]
trait MapOps[String, Any, Map, Map[String, Any]]
trait PartialFunction[String, Any]
trait String => Any
trait Iterable[(String, Any)]
trait Iterable[(String, Any)]
trait IterableFactoryDefaults[(String, Any), Iterable]
trait IterableOps[(String, Any), Iterable, Map[String, Any]]
trait IterableOnceOps[(String, Any), Iterable, Map[String, Any]]
trait IterableOnce[(String, Any)]
class Object
trait Matchable
class Any
class Links(val self: String)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
class Resource(val id: String, `type`: String, path: String)

Resource Object

Resource Object

Attributes

id

resource identifiers

type

typeName of resource

Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def context(params: Map[String, Any]): Context
def create(entity: Entity[_], path: String)(using context: Context): Resource
def extractOption(item: Any): Any
def newJson(data: Resource)(using context: Context): Json
def newJson(datas: Iterable[Resource])(using context: Context): Json
def typeName(clazz: Class[_]): String