I’m not sure if I correctly understand your question. How does your Java method look like? Typically it will return a JSON object that will be parsed in JS.
> Am 06.02.2018 um 10:32 schrieb Virginia Mesa <[email protected]>: > > Hello, > > Yes! It was that. > Now, I have already gotten back the value of the Java method. > The problem is that the return is an Array..and in this way, it is returning > the values to me. > > I explain: > > <Auto Generated Inline Image 1.png> > > When I pass it through Ajax, it returns the inside of the array. Is there any > way to tell you that what I want to receive is an array? For example, in the > res.responseObject () you can specify what type of object. > > Thank you very much for the help, > Greetings. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/bad34ce9-d083-48a4-a074-161c7333e88f%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-dev/bad34ce9-d083-48a4-a074-161c7333e88f%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > <Auto Generated Inline Image 1.png> -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/74546951-D44D-4A27-9C94-6ABAAF6A029D%40gmail.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Message signed with OpenPGP
