Skip to main content

This is just fine, but I have to get it back into a modal in PHP. Now I've created a modal (in my case it's, for example, GeoLocation) which havehas several getters and setters.

Now I'veI have a loader class which processes the JSON and should re-create the object as soon as the set<Varname>() method exists.

This is just fine, but I have to get it back into a modal in PHP. Now I've created a modal (in my case it's, for example, GeoLocation) which have several getters and setters.

Now I've a loader class which processes the JSON and should re-create the object as soon as the set<Varname>() method exists.

This is just fine, but I have to get it back into a modal in PHP. Now I've created a modal (in my case it's, for example, GeoLocation) which has several getters and setters.

I have a loader class which processes the JSON and should re-create the object as soon as the set<Varname>() method exists.

deleted 49 characters in body; edited tags; edited title
Source Link
Jamal
  • 34.9k
  • 13
  • 133
  • 237

PHP filling Filling modal from JSON (dynamically)

I've a little problem. My Java app converts it'sits modal object to JSON (using the GSON Library).

This is just fine, but I have to get it back into a modal in PHP. Now I've created a modal (in my case it's, for example, GeoLocationGeoLocation) which have several getters and setters.

Now I've a loader class which processes the JSON and should re-create the object as soon as the set<Varname>() method exists. This is what I've done. 

Are there any "security" problems so far or any way to improve it?

PHP filling modal from JSON (dynamically)

I've a little problem. My Java app converts it's modal object to JSON (using the GSON Library).

This is just fine, but I have to get it back into a modal in PHP. Now I've created a modal (in my case it's, for example, GeoLocation) which have several getters and setters.

Now I've a loader class which processes the JSON and should re-create the object as soon as the set<Varname>() method exists. This is what I've done. Are there any "security" problems so far or any way to improve it?

Filling modal from JSON (dynamically)

My Java app converts its modal object to JSON (using the GSON Library).

This is just fine, but I have to get it back into a modal in PHP. Now I've created a modal (in my case it's, for example, GeoLocation) which have several getters and setters.

Now I've a loader class which processes the JSON and should re-create the object as soon as the set<Varname>() method exists. 

Are there any "security" problems so far or any way to improve it?

added 5 characters in body
Source Link
Alex L
  • 5.7k
  • 2
  • 25
  • 68

PHP filling modal from jsonJSON (dynamically)

iveI've a little Problemproblem. My Java App convertapp converts it's modal object to jsonJSON (using the GSON Library).

This is just fine, but iI have to get it back into a modal in PHP. Now iveI've created a modal (in my case it's, for example, GeoLocation) which have several getters and setters.

Now iveI've a loader class which processes the jsonJSON and should re-create the object, as soon as the set()set<Varname>() method exists. This is what iveI've done. IsAre there any "security problem""security" problems so far or any way to improve it?

Since the class methods are always synchronized with the javaJava classes, the getter and setter methods should always exist. Is there maybe a way of doing the getters and setters dynamically using the jsonJSON?

If there are jsonis JSON data which havehas no methods, like setJSONDataOfEvilStuff()setJSONDataOfEvilStuff(), then itsit's not neccessarynecessarily so far.

Thanks

PHP filling modal from json (dynamically)

ive a little Problem. My Java App convert it's modal object to json (using GSON Library).

This is just fine, but i have to get it back into a modal in PHP. Now ive created a modal (in my case it's for example GeoLocation) which have several getters and setters.

Now ive a loader class which processes the json and should re-create the object, as soon as the set() method exists. This is what ive done. Is there any "security problem" so far or any way to improve it?

Since the class methods are always synchronized with the java classes, the getter and setter methods should always exist. Is there maybe a way doing the getters and setters dynamically using the json?

If there are json data which have no methods like setJSONDataOfEvilStuff() then its not neccessary so far.

Thanks

PHP filling modal from JSON (dynamically)

I've a little problem. My Java app converts it's modal object to JSON (using the GSON Library).

This is just fine, but I have to get it back into a modal in PHP. Now I've created a modal (in my case it's, for example, GeoLocation) which have several getters and setters.

Now I've a loader class which processes the JSON and should re-create the object as soon as the set<Varname>() method exists. This is what I've done. Are there any "security" problems so far or any way to improve it?

Since the class methods are always synchronized with the Java classes, the getter and setter methods should always exist. Is there maybe a way of doing the getters and setters dynamically using the JSON?

If there is JSON data which has no methods, like setJSONDataOfEvilStuff(), then it's not necessarily so far.

Source Link
Emanuel S
  • 163
  • 1
  • 5
Loading