Class net.minecraft.util.JsonSerializing$ElementSerializer

This description should be content pulled from the first comments of a lua file.

Instance Methods

instance:fromJson(json, context) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:toJson(object, context) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Instance Methods

instance:fromJson(json, context)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • json userdata, JsonElement This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • context userdata, JsonDeserializationContext This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:toJson(object, context)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • object userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • context userdata, JsonSerializationContext This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, JsonElement This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"