This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Test case you can try ["foo", {"bar":["baz",null,1.0,2]}] | |
| //Try another examples also | |
| #include<bits/stdc++.h> | |
| using namespace std; | |
| int prettyjson(string s,stack<char> st,int length,int i,int tabs) | |
| { | |
| if(i<length) | |
| { | |
| if((s[i]=='[') || (s[i]=='{')) | |
| { |