A value that JSON can hold. A type alias of an object type is a JSON value when its fields are. An interface is rejected, because a later declaration can add a field that is not JSON.
A value that JSON can hold. A type alias of an object type is a JSON value when its fields are. An interface is rejected, because a later declaration can add a field that is not JSON.