Class JsonFieldUtils

java.lang.Object
com.kingsrook.qqq.backend.core.utils.JsonFieldUtils

public class JsonFieldUtils extends Object
Runtime custom field metadata and storage.
  • Constructor Details

    • JsonFieldUtils

      public JsonFieldUtils()
  • Method Details

    • read

      public static Serializable read(QRecord record, QFieldMetaData field, String prefix)
      Read a typed logical value from a physical JSON map, including joined records.
    • write

      public static void write(QRecord record, QFieldMetaData field, Serializable value)
      Merge one logical value; null removes the key. Always copy the stored map.
    • project

      public static void project(QRecord record, QTableMetaData table, String prefix)
      Project logical fields without exposing the backing JSON column.