Skip to main content

Hello if i i have class how can i  print the verible int the class:

for example :

<apex:outputText value="{!discounts}"/>

 

and i get the result of :

discountsClass:[name=household, type=percent, value=0.07]

how can i get the varible inside like the name?

2 answers
  1. Feb 21, 2017, 4:15 PM
    You need to convert JSON to Apex, then use get;set; to that variable and show it in UI.