Nested Object Max Depth Finder

Returns the maximum depth of a nested object as an int.

Algorithmia Platform License

Run an Example

"3"

Install & Use

Use

curl -X POST -d '["1", "This is depth 1", ["this is depth 2", ["and this is depth 3", "returns an int of 3"]]]' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/McSpidey/Al/0.1.0