Documentation
¶
Overview ¶
Package content provides helpers for identifying and converting serialized content.
Index ¶
Constants ¶
View Source
const ( // FileTypeYAML identifies YAML content. FileTypeYAML = "yaml" // FileTypeJSON identifies JSON content. FileTypeJSON = "json" // FileTypeCSV identifies CSV content. FileTypeCSV = "csv" // FileTypeString identifies string content. FileTypeString = "string" // FileTypeUnknown identifies content that could not be classified. FileTypeUnknown = "unknown" )
Variables ¶
This section is empty.
Functions ¶
func IsJSONString ¶ added in v0.0.5
IsJSONString checks if the passed content of JSON string.
Types ¶
Click to show internal directories.
Click to hide internal directories.