commonMain.it.unibo.tuprolog.serialize.Objectifier.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serialize-core-jvm Show documentation
Show all versions of serialize-core-jvm Show documentation
JSON and YAML serialization support for logic terms and clauses
The newest version!
package it.unibo.tuprolog.serialize
import kotlin.js.JsName
interface Objectifier {
@JsName("objectify")
fun objectify(value: T): Any
@JsName("objectifyMany")
fun objectifyMany(vararg values: T): Any = objectifyMany(listOf(*values))
@JsName("objectifyManyIterable")
fun objectifyMany(values: Iterable): Any
@JsName("objectifyManySequence")
fun objectifyMany(values: Sequence): Any = objectifyMany(values.asIterable())
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy