json-ignore's People
json-ignore's Issues
No Typings for Typescript avaliable
It seems that no Typings exist. Neither in the json-ignore
package itself, nor in the corresponding @types/json-ignore
. Please provide typings, so that we can use the packet with strongly typings and intellisense in TypeScript.
Tested Version: [email protected]
incompatibility with Ngx-Translate/core injection
Hello @LukasMarx
I was using @JsonIgnore in Ionic 2 and ngx-translate 8.0.0. It was ok.
But since I upgraded to Ionic 3.9.2 and Angular 5.2.9, I had to upgrade to ngx-translate 9.x
When I use @json-ignore in any class or component providing ngx-translate the TranslateService can nom more be injected.
I automatically get the following error:
Error: Uncaught (in promise): Error: Can't resolve all parameters for TranslateService: (?, ?, ?, ?, ?, [object Object], [object Object]).
syntaxError@http://localhost:8100/build/vendor.js:83095:34
I think there is an incompatibility between ngx-translate/[email protected] and json-ignore dependencies.
So I can no more use json-ignore
My current node-modules are :
"json-ignore": "^0.4.0",
"@angular/common": "5.2.9",
"@ionic-native/core": "4.7.0",
"@ngx-translate/core": "9.1.1",
"@ngx-translate/http-loader": "2.0.1",
dev:
"typescript": "2.6.2",
Installed module reflect-metadata ; is 0.1.10
Not installed : mocha / @types/mocha / benchmark
Please could you check this point?
Thank you!
Package isn't configured for NgModule import
It seems that the npm package isn't set up for the NgModule for import.
Visual Studio provides this error
'/node_modules/json-ignore/index.ts' is not under 'rootDir'/wwwroot'. 'rootDir' is expected to contain all source files.
'
I suspect it has to do with exported functions instead of an exported class.
Object to Idibject
It would be possible to obtain the following result?
IN:
model car
{
"id":1,
"name":"New Fiest",
"model":{
"id":1,
"name":"ford"
}
}
out:
{
"id":1,
"name":"New Fiest",
"idmodel":1
}
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.