...

Source file src/github.com/launchdarkly/go-jsonstream/v3/jwriter/test_behavior_default.go

Documentation: github.com/launchdarkly/go-jsonstream/v3/jwriter

     1  //go:build !launchdarkly_easyjson
     2  // +build !launchdarkly_easyjson
     3  
     4  package jwriter
     5  
     6  // This function tells the writer tests that we shouldn't expect to see hex escape sequences in the output.
     7  // Our default implementation doesn't use them, whereas easyjson does; either way is valid in JSON.
     8  func tokenWriterWillEncodeAsHex(ch rune) bool { //nolint:deadcode,unused // linter is confused
     9  	return false
    10  }
    11  

View as plain text