(self)
| 65 | |
| 66 | impl JsonValueKind { |
| 67 | pub(crate) const fn as_str(self) -> &'static str { |
| 68 | match self { |
| 69 | Self::Null => "null", |
| 70 | Self::Bool => "boolean", |
| 71 | Self::Number => "number", |
| 72 | Self::String => "string", |
| 73 | Self::Array => "array", |
| 74 | Self::Object => "object", |
| 75 | } |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | impl From<JsonValueRef<'_>> for JsonValueKind { |
no outgoing calls
no test coverage detected