The JSON value of true displays as YES
Line 13 & 14 should work correctly right?
variables.miner.cat=variables.miner.dog.alive; variables.miner.livedog = structFindValue(variables.miner.dog, variables.miner.cat, "all");
Line 12 works correctly and finds the value in the struct:
variables.miner.liveWorker = structFindValue(data.workers, true, "all");
Adam Cameron says as I paraphrase, "Clear as mud!"
Here is his code:
2 comments:
It took me a while to distill your code down to something I could understand (the variable names & extraneous code really didn't help), but would this version more clearly demonstrate what you're talking about?
https://gist.github.com/adamcameroncoldfusion/5289311
I'm seeing that I can pull a value out out of the struct, and then look for it in the struct and not find it. That's it, yeah?
Railo & OpenBD work properly here, it's just CF that doesn't.
--
Adam
Adam, thanks for the comment, I included your gist.
Post a Comment