Comments (3)
I see two cases here:
-
The property is semantically unimportant. Then it doesn't matter what format it really have, trough mapping objects and arrays to the JSON format would be nice.
-
The property is semantically important. Then it should be converted to a UAST node (or list of nodes) with roles and such using the promote* config or one of the ToNoder callbacks.
from sdk.
Thank you for your opinion!
Then I see 2 possible improvements here:
- Reflect need of using promote* or modifier (in case of array) for semantically important properties here: https://doc.bblf.sh/driver/annotations.html
- Format as JSON to make it nicer.
I'll send PR for the latter later.
from sdk.
Fixed by #215.
from sdk.
Related Issues (20)
- drivers output on debug level does not include requests
- driver failure: native driver is not running HOT 6
- schema: Add string interpolation UAST type HOT 1
- Grpc: received message larger than max (5797446 vs. 4194304) HOT 1
- Clarify backward compatibility rules for uast packages
- Parent covers children invariant is not respected HOT 2
- Parent covers children invariant is not respected HOT 7
- uast.TokenOf returns unexpected results for position nodes
- Support persistent UAST hashes HOT 1
- Strange requests during driver discovery tests HOT 1
- Incorrect check for invalid positions HOT 1
- Move protocol to a separate package
- ChildrenOrder unexpected behaviour HOT 2
- .filter() - Invalid memory address or nil pointer dereference HOT 5
- Feature request: UAST diffing HOT 6
- Fix xpath library wrong query failures in case we continue supporting it
- Update drivers template with new performance tests
- Roles are sorted in encoding step but not in decoding one
- Comments including utf8 characters are not parsed correctly HOT 8
- Automation: driver releases
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdk.