Skip to content

Fix UnknownFObjectParser and add unit tests#4630

Merged
kgrgreer merged 3 commits intodevelopmentfrom
NP-11968/fix-unknown-fobject-parser
Nov 25, 2025
Merged

Fix UnknownFObjectParser and add unit tests#4630
kgrgreer merged 3 commits intodevelopmentfrom
NP-11968/fix-unknown-fobject-parser

Conversation

@lchanmann
Copy link
Collaborator

Ref

Tests

UnknownFObjectParserTest
         ✓ SUCCESS: Parsed json, input:{"key":"value","key2":true,"key3":null,"key4":{"foo":"bar"},"key5":[true,false,null,"text",1.23]} 
         ✓ SUCCESS: Parsed empty json, input:{} 
         ✓ SUCCESS: Parsed json with un-quoted key, input:{key:"}"} 
         ✓ SUCCESS: Parsed json with comment above properties, input:{//comment1 \n key:"1",//comment2 \n key2:"2"} 
         ✓ SUCCESS: Parsed empty json with just comment, input:{// comment1 \n  // comment2 \n} 

TEST REPORT SERVER - TEST CASES: 1, TESTS: 5 (PT0.57S)
 PASSED: 5 
 FAILED: 0 

@kgrgreer kgrgreer merged commit 8016a26 into development Nov 25, 2025
1 check passed
@lchanmann lchanmann deleted the NP-11968/fix-unknown-fobject-parser branch November 25, 2025 23:04
adamfox-nanopay pushed a commit to nanoPayinc/foam3 that referenced this pull request Nov 26, 2025
* Fix UnknownFObjectParser and add unit tests

* Cleanup

* Reorder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants