Package 

Object DataFormat.Json

  • All Implemented Interfaces:
    icu.windea.breezeframework.core.component.Component , icu.windea.breezeframework.serialization.DataFormat

    
    public class DataFormat.Json
     implements DataFormat
                        

    Json数据格式。

    • Method Summary

      Modifier and Type Method Description
      String getFileExtension() 文件扩展名。
      Array<String> getFileExtensions() 可能的文件扩展名一览。
      JsonSerializer getSerializer() 对应的序列化器。可以由第三方库委托实现,基于classpath进行推断,或者使用由Breeze Framework实现的序列化器。可以进行自定义。
      Unit setSerializer(JsonSerializer serializer) 对应的序列化器。可以由第三方库委托实现,基于classpath进行推断,或者使用由Breeze Framework实现的序列化器。可以进行自定义。
      • Methods inherited from class icu.windea.breezeframework.serialization.DataFormat.Json

        deserialize, deserialize, serialize
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSerializer

         JsonSerializer getSerializer()

        对应的序列化器。

        可以由第三方库委托实现,基于classpath进行推断,或者使用由Breeze Framework实现的序列化器。

        可以进行自定义。

      • setSerializer

         Unit setSerializer(JsonSerializer serializer)

        对应的序列化器。

        可以由第三方库委托实现,基于classpath进行推断,或者使用由Breeze Framework实现的序列化器。

        可以进行自定义。