OSPL20 will be replaced with MPL2.0 after 1st February 2021! Read more here
OSPL18 and OSPL19 will be replaced with MIT after 1st February2021! Read more here

Verified Commit 0a68f1a9 authored by AtjonTV's avatar AtjonTV

dummy: Remove JSON Dummy handler because we now use a JsonKraken handler

parent 5a2fd44b
package klib.dummy
import klib.json.Json
import java.lang.reflect.Type
/**
* Dummy JsonHandler
*
* @since 0.1.5
* @since 3.2.0 - Deprecated
* @deprecated
* @author Nils Rider
*/
@Deprecated(message = "This was a dummy because no JSON parser was part of kLib. But we now ship with a JSON Parser!", replaceWith = ReplaceWith("klib.json.JsonHandler"), level = DeprecationLevel.ERROR)
class JsonHandler : Json {
override fun fromObject(data: Any): String {
TODO("not implemented") // To change body of created functions use File | Settings | File Templates.
}
override fun toObject(data: String, type: Type): Any? {
TODO("not implemented") // To change body of created functions use File | Settings | File Templates.
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment