Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composite field with bitmap. Spec Builder.ImportJSON/ExportJSON #283

Closed

Conversation

Andrei-cloud
Copy link
Contributor

Implementing missing composite with bitmap specification Builder.ImportJSON and ExportJSON

to be able to have composite fields specification defined with field bitmap:

{
	"name": "TEST Spec",
	"fields": {
		"1": {
			"type": "Composite",
			"length": 255,
			"description": "Private use field",
			"prefix": "ASCII.LL",
			"bitmap": {
					"type": "Bitmap",
					"length": 8,
					"description": "Bitmap",
					"enc": "HexToASCII",
					"prefix": "Hex.Fixed",
					"disableautoexpand": true
			},
			"subfields": {
				"1": {
					"type": "String",
					"length": 2,
					"description": "Cardholder certificate Serial Number",
					"enc": "ASCII",
					"prefix": "ASCII.Fixed"
				},
                      // other subfields

@alovak
Copy link
Contributor

alovak commented Sep 25, 2023

@Andrei-cloud thanks for the PR! It looks good. I'll solve the issue with the linter and I think we can merge your suggested changes. I'll give it one more look shortly.

@mfdeveloper508
Copy link
Contributor

#285

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.

3 participants