Documentation

Lake.Util.JsonObject

JSON Object #

Defines a convenient wrapper type for JSON object data that makes indexing fields more convenient.

@[reducible, inline]

A JSON object (Json.obj data).

Instances For
    @[inline]
    Instances For
      @[inline]
      Instances For
        @[inline]
        Instances For
          Instances For
            @[inline]
            def Lake.JsonObject.insert {α : Type u_1} [Lean.ToJson α] (obj : JsonObject) (prop : String) (val : α) :
            Instances For
              @[inline]
              def Lake.JsonObject.insertSome {α : Type u_1} [Lean.ToJson α] (obj : JsonObject) (prop : String) (val? : Option α) :
              Instances For
                Instances For
                  @[inline]
                  def Lake.JsonObject.get {α : Type u_1} [Lean.FromJson α] (obj : JsonObject) (prop : String) :
                  Instances For
                    @[inline]
                    def Lake.JsonObject.get? {α : Type u_1} [Lean.FromJson α] (obj : JsonObject) (prop : String) :
                    Instances For
                      @[macro_inline]
                      def Lake.JsonObject.getD {α : Type u_1} [Lean.FromJson α] (obj : JsonObject) (prop : String) (default : α) :
                      Instances For