Creates an ArcGIS JS API Sublayer from the given sublayer JSON.
The JSON to convert.
The type of the parent layer.
Creates an ArcGIS JS API Sublayer from the given sublayer JSON.