parseDroughtMonitor
Import from: @xbbg/xnews, @xbbg/xnews/parsers
parseDroughtMonitor(
body):DroughtMonitorRow[]
Defined in: src/sources/droughtmonitor.ts (declaration: sources/droughtmonitor.d.ts:29)
Parses the JSON representation selected by the API's Accept header.
The JSON surface returns camelCase keys (mapDate, d0) and an ISO datetime, while the XML surface returns PascalCase (MapDate, D0) and a compact YYYYMMDD. Both spellings are read so a negotiated representation change degrades to nothing worse than the fields it actually renamed.
Parameters
body
string
