MCPcopy Create free account
hub / github.com/apngasm/apngasm / isJSON

Function isJSON

lib/src/spec/specreader.cpp:12–15  ·  view source on GitHub ↗

Return true if file is json.

Source from the content-addressed store, hash-verified

10 namespace {
11 // Return true if file is json.
12 bool isJSON(const std::string& filePath)
13 {
14 return boost::algorithm::iends_with(filePath, ".json");
15 }
16
17 // Return true if file is xml.
18 bool isXML(const std::string& filePath)

Callers 1

readMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected