Posts by Lucas Mateus • 1 point
2 posts
-
0
votes1
answer48
viewsA: Doubt how to manipulate (delete attribute) an Object or Json in php
did as hkotsubo referred me. To create the object I used: $obj = new stdClass(); instead of: $obj = (object) 'string aleatoria';` Thus the scalar attribute is not created.…
-
0
votes1
answer48
viewsQ: Doubt how to manipulate (delete attribute) an Object or Json in php
The idea of the application is to create a json template from the string The string is always changed but respecting the syntax that is like accessing the elements and an object $var; from the…