Skip to content

Add a new transformer config to allow customization of json key value…#13421

Open
chenboat wants to merge 4 commits intoapache:masterfrom
chenboat:transformer
Open

Add a new transformer config to allow customization of json key value…#13421
chenboat wants to merge 4 commits intoapache:masterfrom
chenboat:transformer

Conversation

@chenboat
Copy link
Copy Markdown
Contributor

@chenboat chenboat commented Jun 18, 2024

… separator. The current separator selection of : should be deprecated because it often collides with : in json text and thus cause parsing errors.

import static org.testng.Assert.assertNotNull;
import static org.testng.Assert.assertNull;
import static org.testng.Assert.assertTrue;
import static org.testng.Assert.*;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDE issue? Avoid import *

return _jsonKeyValueSeparator;
}

public void setJsonKeyValueSeparator(String jsonKeyValueSeparator) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public void setJsonKeyValueSeparator(String jsonKeyValueSeparator) {
public void setJsonKeyValueSeparator(@Nullable String jsonKeyValueSeparator) {

@tibrewalpratik17 tibrewalpratik17 added the enhancement Improvement to existing functionality label Jun 19, 2024
@Jackie-Jiang Jackie-Jiang added the ingestion Related to data ingestion pipeline label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improvement to existing functionality ingestion Related to data ingestion pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants