Records value under key as a JSON number.
Records value under key as a JSON boolean.
Records value under key as a JSON string (subject to truncation in build).
Serializes value as a proper JSON element (object, array, …) using this builder's json.