ba.sake.formson
package ba.sake.formson
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Maps a T
to/from form data map
Maps a T
to/from form data map
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object given_FormDataRW_Array.typeobject given_FormDataRW_Double.typeobject given_FormDataRW_Int.typeobject given_FormDataRW_Path.typeobject given_FormDataRW_String.typeobject given_FormDataRW_UUID.typeShow all
object FormDataRW
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FormDataRW.type
sealed class FormsonException(msg: String, cause: Throwable) extends Exception
Attributes
- Supertypes
-
class Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ParsingException
enum ObjWriteMode
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final class ParsingException(val errors: Seq[ParseError]) extends FormsonException
Attributes
- Companion
- object
- Supertypes
-
class FormsonExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
object ParsingException
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ParsingException.type
enum SeqWriteMode
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Types
Represents a raw form data map. Values are not encoded.
Represents a raw form data map. Values are not encoded.
Attributes
Value members
Concrete methods
Takes a raw map of form data and converts it into a JSON-like AST
Takes a raw map of form data and converts it into a JSON-like AST
Value parameters
- formDataMap
-
Raw map of form data
Attributes
- Returns
-
Form data AST
Concrete fields
Extensions
Extensions
extension (formDataMap: FormDataMap)(formDataMap: FormDataMap)
Parses T
from a FormDataMap map.
Parses T
from a FormDataMap map.
Attributes
extension [T](value: T)(value: T)(using rw: FormDataRW[T])
Serializes T
to FormDataMap map. Note that key/values are not URL encoded.
Serializes T
to FormDataMap map. Note that key/values are not URL encoded.
Value parameters
- config
-
Configures how to serialize sequences and nested objects
- rw
-
Typeclass that does the heavy lifting
Attributes
- Returns
-
FormDataMap
In this article