You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes provisioning information will be provided in a JSON file at image build time that might turn out to be greater than what's detected at run-time. In those cases, it might be handy to be able to load a file, perform run-time validations that elements are or aren't present, and if the later delete them from objects and arrays before either iterating over that configuration, or saving it back out for later use.
To this end, please add methods like json_delete_nth which takes an integer (ordinal) n and deletes the n'th member of an array container, or else json_delete_key which deletes the member whose key matches key from an object container.
The text was updated successfully, but these errors were encountered:
Sometimes provisioning information will be provided in a JSON file at image build time that might turn out to be greater than what's detected at run-time. In those cases, it might be handy to be able to load a file, perform run-time validations that elements are or aren't present, and if the later delete them from objects and arrays before either iterating over that configuration, or saving it back out for later use.
To this end, please add methods like
json_delete_nth
which takes an integer (ordinal)n
and deletes the n'th member of an array container, or elsejson_delete_key
which deletes the member whose key matcheskey
from an object container.The text was updated successfully, but these errors were encountered: