ArrayFormat

zio.blocks.schema.toon.ArrayFormat
See theArrayFormat companion trait
object ArrayFormat

Attributes

Companion
trait
Source
ArrayFormat.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case object Auto extends ArrayFormat

Select the format from the element type:

Select the format from the element type:

  • Inline for primitive arrays
  • List for record arrays and other complex elements

An array of records with only primitive fields that is nested inside a list item is written in tabular form. Use Tabular to write record arrays as tables everywhere.

Attributes

Source
ArrayFormat.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ArrayFormat
class Object
trait Matchable
class Any
Show all
Self type
Auto.type
case object Inline extends ArrayFormat

Force inline format: items[N]: val1,val2,val3 Only valid for primitive arrays; falls back to List for complex types.

Force inline format: items[N]: val1,val2,val3 Only valid for primitive arrays; falls back to List for complex types.

Attributes

Source
ArrayFormat.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ArrayFormat
class Object
trait Matchable
class Any
Show all
Self type
Inline.type
case object List extends ArrayFormat

Force list format with - markers.

Force list format with - markers.

Attributes

Source
ArrayFormat.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ArrayFormat
class Object
trait Matchable
class Any
Show all
Self type
List.type
case object Tabular extends ArrayFormat

Force tabular format: items[N]{field1,field2}: val1,val2 Falls back to List if an array is not tabular-eligible.

Force tabular format: items[N]{field1,field2}: val1,val2 Falls back to List if an array is not tabular-eligible.

Attributes

Source
ArrayFormat.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ArrayFormat
class Object
trait Matchable
class Any
Show all
Self type
Tabular.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala