This file contains 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
<apex:page controller="JsonFormatter"> | |
<apex:form > | |
<pre id="myId"> | |
</pre> | |
<apex:commandButton onclick="callme();" value="Click me"/> | |
</apex:form> | |
<style type='text/css'> | |
pre { | |
outline: 1px solid #ccc; | |
padding: 5px; | |
margin: 5px; | |
} | |
.string { | |
color: green; | |
} | |
.number { | |
color: darkorange; | |
} | |
.boolean { | |
color: blue; | |
} | |
.null { | |
color: magenta; | |
} | |
.key { | |
color: red; | |
} | |
</style> | |
<script> | |
function callme() { | |
alert(syntaxHighlight()); | |
document.getElementById("myId").innerHTML = syntaxHighlight(); | |
} | |
function syntaxHighlight() { | |
var json = {!jsonStr}; | |
if (typeof json != 'string') { | |
json = JSON.stringify(json, undefined, 2); | |
} | |
json = json.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, | |
'>'); | |
return json | |
.replace( | |
/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g, | |
function(match) { | |
var cls = 'number'; | |
if (/^"/.test(match)) { | |
if (/:$/.test(match)) { | |
cls = 'key'; | |
} else { | |
cls = 'string'; | |
} | |
} else if (/true|false/.test(match)) { | |
cls = 'boolean'; | |
} else if (/null/.test(match)) { | |
cls = 'null'; | |
} | |
return '<span class="' + cls + '">' + match | |
+ '</span>'; | |
}); | |
} | |
</script> | |
</apex:page> |
Thanks for sharing the information it is so nice to understandable
ReplyDeletePressure Vessel Design Course is one of the courses offered by Sanjary Academy in Hyderabad. We have offer professional Engineering Course like Piping Design Course,QA/QC Course,document Controller course,pressure Vessel Design Course,Welding Inspector Course, Quality Management Course, #Safety officer course.
Welding Inspector Course
Safety officer course
Quality Management Course
Quality Management Course in India
Very useful and informative blog. Thank you so much for these kinds of informative blogs.
ReplyDeletewho provides seo services and e-commerce development services.
best website design services in gurgaon
web company in delhi
web desiging company
web design & development banner
web design & development company
web design & development services
web design agency delhi
web design agency in delhi
web design and development services
web design companies in delhi
web design company delhi
web design company in delhi
web design company in gurgaon
web design company in noida
web design company list
web design company services
web design company website
web design delhi
web design development company
web design development services
web design in delhi
web design service
web design services company
web design services in delhi
web designer company
web designer delhi
web designer in delhi
web designers delhi
web designers in delhi
web designing & development
web designing advertisement
web designing and development
web designing and development company
web designing and development services
web designing companies in delhi
web designing company delhi
web designing company in delhi
web designing company in gurgaon
web designing company in new delhi
web designing company in noida
web designing company logo
Buy Diamond Moonrocks Online.
ReplyDeleteAce Medications Online Pharmacy.
ReplyDeleteLipitor Pharmacy Online.
Vyvanse Online Pharmacy.
Despite the fact that Adderall is viewed as a physician recommended tranquilize and most patients
ReplyDeletebuy adderall online,Buy Adderall Uk & USA on the web or purchase Adderall 30mg from an online drug store, a few patients will in general get dependent on the medication.can you buy adderal online? When it comes to buying fine research chemicals online, quality is the key. buychemstore research chemicals for sale ,LSD for sale,constantly strives at providing you with the continuing evaluation, innovation . We assure you the highest degree of confidence in all of our products not limited to but including cocaine for sale, LSD for sale, heroin for sale, pain medications for sale etc. Here at buychemstore, we pride ourselves on safety.
buy research chemicals online
We are a one-stop-shop for the purchase of anabolic steroids.what is anabolic steroids, We are here to make sure you don’t bother about where to buy anabolic steroids from craigslist, eBay, or any other online forums. We are in contract with a large network of pharmacies in North America, Europe and Asia. With our years of experience in the distribution of anabolic-androgenic steroids, we provide top quality services to our clients that cannot be matched by our competitors.This is te best place to Buy legal steroids online, anabolic steroids for sale
buy Apetamin vitamin syrup that’s marketed as a weight gain supplement. It was developed by TIL Healthcare PVT, a pharmaceutical company based in India.According to manufacturing labels, 1 teaspoon (5 ml) of Apetamin syrup contains.Apetamin in store,where to buy Apetamin,Is Apetamin syrup Effective in weight gain,buy Apetamin syrup online
Welcom to our vyvanse online shop where you can buy vyvanse online,Buy vyvanse Uk & USA,learn about vyvanse side effects and have
vyvanse coupon,vyvanse for sale.
Buy atorvastatin, sold under the trade name Lipitor among others, is a statin medication used to prevent cardiovascular disease in those at high risk and treat abnormal lipid levels. For the prevention of cardiovascular disease, statins are a first-line treatment. It is taken by mouth.Learn How to use Lipitor, you are free to read about atorvastatin side effects,Buy lipitor UK ,atorvastatin side effects ,
lipitor for sale. You can also buy juul
Concentrates
ReplyDeleteWeed Edibles
Weed for Sale ,
FECO,
Moon Rocks,
CBD Isolate,
LOL Edibles,
Gummy Bears,
Welcome to Ragdoll Kittens Cattery click here to adopt a ragdoll
ReplyDeletekitten online We are a small and loving cattery . We are pleased that you have chosen to visit our Ragdoll
cats/Ragdoll kittens cattery, and hope you will notice right away from our website how beautiful and loved our
Ragdoll cats and kittens are. These beauties are easily integrated into our loving family home, first as
mothers carrying the litters, and then from the time the ragdoll kittens are born until they are adopted so we
always have Ragdoll kittens for sale|Ragdoll kittens for adoption|Ragdoll kitten price|Ragdolls|Cost of Ragdoll
kittens|. Our adult cats have tested negative for HCM and PKD1 through University of California Davis. Upon
request, we have five generations of pedigree documentation on our adults available to anyone who is
interested. Ragdoll kittens are registered with The International Cat Association (RAGDOLL KITTENS FOR SALE),and are never caged. The cats that are
in our reputable breeding program can produce mink, sepia and traditional Ragdoll kittens. Ragdolls have a
laid-back personality and enjoy being physically handled making them one of the best lap cats! We are all
family here at Ragdoll kittens cattery since we are ragdoll kitten breeders and all the love we bestow by
holding each cat and kitten daily further Teacup RAGDOLL Kittens
for sale|Hypoallergenic kittens for sale nurtures their loving personalities and temperaments,TICA/CFA REGISTERED RAGDOLL KITTENS FOR SALE thanks for adopting a
ragdoll ketten from us
Welcome to our farm where we breed Registered pomeranian puppies
for sale.As a registered pomeranian puppies breeder, we have made it possible for pomeranian puppy lovers
to
buy pomeranian puppies online,buy zwergpitz pomeranian from our family run farm. Pomeranian
dogs are small dogs with a weight of 1.36 to 3.17 kg and a withers height of 15 to 18 cm. They are compact but
robust dogs with a lush, textured coat and a tall and flat tail. The top coat forms a fur ruff on the neck, for
which poms are known, and on the hindquarters they have a margin of feathered hair.You can click HERE to view our available pomeranian puppies
ReplyDeleteHello, have you checked our farm?we own and train the best babies that will do just fine in a new home
Maine coon kittens
Maine coon kittens for sale
Maine coon kittens for adoption
Munchkin kittens for adoption
Munchkin kittens for sale
Siamese kittens for sale
Siamese kittens
Siamese kittens for adoption
Ragdoll kittens for adoption
sphynx kittens for adoption
Tibetan mastiff puppies for adoption
Tibetan mastiff puppies for sale
carolina dogs for sale
carolina dogs for adoption
catahoula leopard dogs for adoption
catahoula leopard dogs for sale
swedish vallhunds for sale
swedish vallhunds for adoption
Thank you
Buy Mushrooms Online.
ReplyDeleteBuy CBD Weed Strains USA.
Buy Shatter in UK.
Order Vapes Oil UK s
Vape carts 4 all specialize in the very finest, pharmaceutical-grade, Organic & Vegan Cannabis and cartridges. We deliver it straight to your home across the globe. Source your medicinal cannabis products with peace of mind, from our all vegan, strictly organic and pesticide-free menu.
ReplyDeletewest coast extract vape carts
krt carts solvent free web site
krt carts sovent free
buy krt vape cartridges online
krt vapes
krt vape cartridges
krt dab carts
curepen
buy curepen online
cali gold extract
buy cali gold extract
Cali gold carts
Cali gold extract cartridge 24k
brass knuckles jack herer
tahoe og brass knuckles
dimethyltryptamine-dmt
ReplyDeletemagic-mushrooms
valium-10mg
adderall-amphetamine
lsd-lysergic-acid-diethylamide
alpha-pvp-crystal
codeine-linctus-syrupcare-plus
phenergan-elixir-5mg-5ml-promethazine-sugar-free-oral-solution-100ml
buy cough syrup
buy codeine linctus
buy care plus
phenergan-elixir
phenergan-elixir
phenergan
buy phenergan-elixir
buy lean
lean for sale
buy lean online
lean
buy promethazine oral solution online
promethazine for cough
what is promethazine
buy cough syrup online
promethazine and codeine
buy Hi tech lean online
hi tech promethazine and codeine oral solution
wockhardt promethazine for sale
buy wockhardt codeine online
Akorn promethazine for sale
buy Tris promethazine plain online
tris promethazine for sale
promethazine and codeine oral solution
purple drank for sale
buy purple drank online
Actavis lean
buy actavis promethazine online
buy lagal lean online
legal lean for sale
what is leagal lean
buy drug free syrup in USA
buy official lean
order Akorn lean online
order cough syrup online
lean in USA
Thank you much for sharing this wonderful post.
ReplyDeleteAWS Training in Chennai | AWS Training Institute in Chennai | AWS Training Center in Chennai
Thanks for this. I really appreciate your good work
ReplyDeletecontent so valid. keep up i love this
so much meaning. I enjoyed my self
I cant neglect. Reading such a content
Ethical facts. one just cant neglect
I always appreciate. Valid content
Never a dull. moment reading online
I have learned. A new thing today
nothing is so meaningful. like reading a good content
Buy Pharma Sust 300 Online
ReplyDeleteBuy Pharma Test C250 Online
Buy Pharma Test E300 Online
Buy Primobolan 300 Online
Buy Primobolan 100 Online
Buy Rexogin Alpha Online
Buy Stanozolol Injectable Online
Buy Stanozolol Injection Online
Buy Stanozolol Winstrol Online
Buy Sustanon 250 Online
Thanks for this. I really appreciate your good work
ReplyDeletecontent so valid. keep up i love this
so much meaning. I enjoyed my self
I cant neglect. Reading such a content
Ethical facts. one just cant neglect
I always appreciate. Valid content
Never a dull. moment reading online
I have learned. A new thing today
nothing is so meaningful. like reading a good content
BUY WEED ONLINE
ReplyDeleteBUY IBOGAINE ONLINE
BUY XANAX ONLINE
BUY DANK VAPE ONLINE
BUY COCAINE ONLINE
BUY IBOGAINE CAPSULES ONLINE
BUY LSD ONLINE
BUY BLUE DREAM DANK VAPE ONLINE
BUY MOONROCKS ONLINE
BUY CARFENTANYL ONLINE
https://k2incenseonlineheadshop.com/
ReplyDeleteinfo@k2incenseonlineheadshop.com
k2incenseonlineheadshop Buy liquid incense cheap Buy liquid incense cheap For Sale At The Best Incense Online Shop
This was nice and amazing and the given contents were very useful and the precision has given here is good.
ReplyDeleteHadoop Training in bangalore
Hadoop Training Institute In Bangalore
This blog looks just like my old one! It's оn a totally different subject but it has pretty much the same layout and design. Great choice of colours!
ReplyDeleteDirty Harry Pinball Machine
https://budsspace.com/product/stiiizy-pods/
ReplyDeletehttps://budsspace.com/product/moon-rocks-for-sale/
https://stiiizystore.com/
https://stiiizystore.com/product/liiit_stiiizy_strawnana_orangecream_stiiizycake_widowmaker/
https://glockamory.com/product-category/riffles/
https://glockamory.com/product-category/pistol-pistol/
https://glockamory.com/product-category/AMMO/