Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I used google spreadsheets with a json export script. But that's only viable for personal manual data gathering and not something you would serve a user.
For that you'd need a website or form service like https://www.wufoo.com/ and a database like firebase real time database. -
C0D4681465y{"firstname": "abc", "last
name":"xyz", "sex":"often", "age": "99"}
That was hard 🤷♂️
You could just build a form and convert to json, I mean, you are a dev right? -
@alexbrooklyn wow! seting up a php instance for something that can be done in 10 minutes with client side html, css, and javascript. You like to use the big battleship canon to kill a moscito don't you? 😀
-
@heyheni oh shit, I almost forgot that javascript existed for that 😅 whoops
Btw, add blockhain, docker, k8s and a redis db to make sure the app works properly -
@alexbrooklyn yes, because how would one write Javascript Object notation with Javascript?
-
I tried this one and it's really easy and helpful.
helped me generation a really long Json.
http://www.objgen.com/json -
C0D4681465y@heyheni php setup is seconds if you download the binaries,
open cmd/terminal
php -a
echo json_encode(array("firstname" => "hey", "lastname" => "heni"));
Copy output
I think it would have been quicker to do it then write this thing on my phone 🤦♂️😂
But then opening a browser console and adding
let arr = [ "Bob", "Marley", "Chester", "Heyheni" ];
Console.debug(JSON.stringify(arr));
Could work too, I mean it's pretty intensive though. -
@C0D4 typing code on phone is the worst. I also hate it when I am talking about .NET a few times in a message because of the automatic space removal...
-
C0D4681465y@Codex404 autocomplete + random spaces are the worst when trying to write syntax on a phone.
It's ok for small things (well it's tolerable) -
delete195yRandom related tip if you are on a Mac. You can use the Xcode plist editor to make hierarchical data structures and then save as or convert them to JSON with putil
plutil -convert json data.plist -o data.json
Is there a gui for json generator? eg a form in which i can enter first Name, LastName, Sex etc... then it generates the correct json.
question