Code Monkey home page Code Monkey logo

Comments (2)

StephenOTT avatar StephenOTT commented on June 19, 2024

Further review i am seeing:

https://groups.google.com/forum/#!topic/vertx/hXaEQt97eAw

which is very different from the Js docs as listed in previous post.

Additionally i am seeing in the JSDocs: http://vertx.io/docs/jsdoc/module-vertx-js_vertx-Vertx.html#getOrCreateContext

and i see: vert-x3/vertx-lang-js#15

So.... is there a explanation of the various documentation variations kicking around?

from vertx-config.

StephenOTT avatar StephenOTT commented on June 19, 2024

Going to close this issue.

The general issue that is the cause of the original post above (IMO), is from non-obvious docs on the topic: "generally speaking" the JS libs for vertx return objects as a JS object rather than a scriptObjectMirror (Usually what nashorn returns). When you print objects you "generally" have to JSON.stringify(myObject) the object or it does not get printed as a string. In more native usage of nashorn this is resolved because most objects return as a java.lang.object and it will "generally" use "toString()" for us.

i use the word "generally" as its not rule that always occurs, but it seems to have been my experience with nashorn.

from vertx-config.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.