Shipstation v0.3.7 Shipstation.Serializer

This function is used to strip out nils in deeply-nested data.

Summary

Functions

For each key/value pair in a map, filter out the ones with a nil value, then for ones which are of type Map, recurse down and return the result

Functions

deep_consolidate(items)
do_deep_consolidate(body)

For each key/value pair in a map, filter out the ones with a nil value, then for ones which are of type Map, recurse down and return the result.