Comments (2)
We don't really have a good method of determining this in Javascript right now. I thought we might be able to intercept the unmarshalling operation via the Reviver available to JSON.parse()
but after a quick test I found that the reviver only transforms the result after the object has been created, not during.
There are some implementations (which don't have native JSON parsing support) which do allow you to fail on duplicate keys (Jackson is one example). I'm not sure how we would implement similar functionality in Javascript without adding unneeded complexity since in order to do this we would either need to implement a custom JSON parser (this could be done by extending one of the JSON polyfills) or investigate a string prior to it being parsed into an Object.
from lrs-conformance-test-suite.
Closing for now unless ADL makes requests. If I recall, issue was brought up and implicit and tests not needed.
from lrs-conformance-test-suite.
Related Issues (20)
- Can the online LRS Conformance Test support PKI Authentication in addition to username/password? HOT 3
- Behavior of Deployed Test Suite in Conjunction with SCORM Adopters
- test for LRS rejecting null values HOT 2
- test for LRS rejecting statement because of missing choices | scale | source | target | steps property HOT 1
- sha2 needs to reflect the actual JWS payload in signatures HOT 2
- Test suite ADL
- Receiving the following message when attempting to complete activity in moodle. HOT 1
- LRS Conformance: Expected Folders to Run
- XAPI-00146/XAPI-1047 - Tests only validate single statement, no test for array of statements HOT 1
- Doubt regarding error: TypeError: X-Experience-API-Consistent-Through header was missing or not a number HOT 1
- invalid test in Communication 3.3.s3.b4 "should not convert newer version format to prior version format" HOT 2
- Known 2.0 Test Suite Issues HOT 5
- XAPI-00171 doesn't accept substatement activity object with objectType HOT 3
- Missing T in expected to be valid timestamp 2008-09-15 15:53:00.601+00:00 HOT 9
- [2.0.0]Timestamp UTC conversion test uses an invalid timestamp HOT 1
- XAPI-00254 > Test not clearly justified by the specification HOT 4
- [2.0.0] Concurrency > Header precondition failure tests should use a valid entity tag
- [2.0.0] Concurrency > 409 Conflict response tests fail if the error response is JSON, rather than a string HOT 2
- [2.0.0] Alternate Request Syntax > 401 Unauthorized must be accepted as a legitimate response when authorization header is not provided HOT 2
- [2.0.0] "Duplicate Endpoint Joining in 'getStatementExactPromise' Method HOT 2
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 lrs-conformance-test-suite.