# Functions
EmptyResource returns an empty resource wrapper whose data is a empty map.
NewResource reads data from input and returns resources if it's not empty.
NewResourceFromReader returns a *Resource by decoding from an io.Reader.
NewResourceFromString returns a *Resource by decoding from an string.