Comments (3)
@mngan Interesting. What version of EOS are you running against?
I would expect EOS to return valid JSON...so I'm inclined to say an issue should be filed against EOS. However, I do agree we should have at least some method to workaround issues like this. Unfortunately, we do not at the moment. Let me look into this more.
from goeapi.
I am seeing this on 4.24.2.2F through 4.25.4M. I'll log a case with Arista on this. JSON not defining NaN and Infinity as literals is a little unexpected though.
from goeapi.
Yeah. It's specifically stated in rfc4627 (https://datatracker.ietf.org/doc/html/rfc4627#section-2.4).
There's been debate on this in the past. Even with respect to how python/ruby/etc handle vs Golang. Seems Go is a tad more strict.
from goeapi.
Related Issues (20)
- Incorrect error handling for the JSON response HOT 5
- Add tests for http response other than 200
- Errors Authenticating with Passwords Containing Special Characters HOT 1
- Feature Request: Ability to retrieve configured interface speed
- SwitchPortEntity.GetAll() is real dang slow HOT 1
- Bug: JSON tags ignored HOT 3
- Handle.Call() does not return error when a command fails HOT 1
- Possible connection leak? HOT 3
- Cannot connect HOT 7
- Are only standard-typed ACLs valid? HOT 1
- Enable method returns text encoding instead of json HOT 3
- Does not work when using SOCKS5 proxy
- String Interpolation with a custom command
- Users module issue with SSHKey
- move to go modules
- Version Check as String.
- VRF Type has ASN as int64 type but EAPI returns a string type HOT 1
- API response too big
- is this repository still maintained ?
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 goeapi.