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

uidsonic.fluid-json-coding.0.9.15.source-code.CodingImplementationsJava.kt Maven / Gradle / Ivy

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

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


internal interface CodingImplementationsJava {

	fun extendedCodecProviders(): List> =
		emptyList()
}


internal val codingImplementationsJava: CodingImplementationsJava by lazy {
	try {
		return@lazy Class.forName("com.github.fluidsonic.fluid.json.dynamic.CodingImplementationsJava8").getDeclaredConstructor().newInstance()
			as CodingImplementationsJava
	}
	catch (e: Exception) {
		// non-existent or severely broken
	}

	CodingImplementationsJava7()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy