All Downloads are FREE. Search and download functionalities are using the official Maven repository.

codecs.DefaultJSONCodecs.kt Maven / Gradle / Ivy

There is a newer version: 0.9.24
Show newest version
package com.github.fluidsonic.fluid.json

import com.github.fluidsonic.fluid.json.dynamic.*


object DefaultJSONCodecs {

	val basic: List> =
		listOf(
			AnyJSONDecoderCodec,
			ArrayJSONCodec,
			BooleanArrayJSONCodec,
			BooleanJSONCodec,
			ByteArrayJSONCodec,
			ByteJSONCodec,
			CharJSONCodec,
			DoubleArrayJSONCodec,
			DoubleJSONCodec,
			FloatArrayJSONCodec,
			FloatJSONCodec,
			IntArrayJSONCodec,
			IntJSONCodec,
			ListJSONDecoderCodec,
			LongArrayJSONCodec,
			LongJSONCodec,
			MapJSONCodec,
			SequenceJSONCodec,
			SetJSONDecoderCodec,
			ShortArrayJSONCodec,
			ShortJSONCodec,
			StringJSONCodec,
			CollectionJSONCodec, // after subclasses
			IterableJSONEncoderCodec, // after subclasses
			NumberJSONCodec // after subclasses
		)


	val extended: List> =
		codingImplementationsJava.extendedCodecProviders()


	val nonRecursive: List> =
		listOf(
			ArrayJSONCodec.nonRecursive,
			ListJSONDecoderCodec.nonRecursive,
			MapJSONCodec.nonRecursive,
			SequenceJSONCodec.nonRecursive,
			SetJSONDecoderCodec.nonRecursive,
			CollectionJSONCodec.nonRecursive, // after subclasses
			IterableJSONEncoderCodec.nonRecursive // after subclasses
		)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy